Class SVGLoader


  • public final class SVGLoader
    extends java.lang.Object
    Class for loading svg files as an SVGDocument. Note that this class isn't guaranteed to be thread safe and hence shouldn't be used across multiple threads.
    • Field Detail

      • LOGGER

        static final java.util.logging.Logger LOGGER
      • NODE_SUPPLIER

        @NotNull
        private static final @NotNull NodeSupplier NODE_SUPPLIER
    • Constructor Detail

      • SVGLoader

        public SVGLoader()
    • Method Detail

      • load

        @Nullable
        public @Nullable SVGDocument load​(@NotNull
                                          @NotNull java.net.URL xmlBase)
      • load

        @Nullable
        public @Nullable SVGDocument load​(@NotNull
                                          @NotNull java.net.URL xmlBase,
                                          @NotNull
                                          @NotNull ParserProvider parserProvider)
      • load

        @Nullable
        public @Nullable SVGDocument load​(@NotNull
                                          @NotNull java.io.InputStream inputStream)
      • load

        @Nullable
        public @Nullable SVGDocument load​(@NotNull
                                          @NotNull java.io.InputStream inputStream,
                                          @NotNull
                                          @NotNull ParserProvider parserProvider)
      • load

        @Nullable
        public @Nullable SVGDocument load​(@NotNull
                                          @NotNull java.io.InputStream inputStream,
                                          @NotNull
                                          @NotNull ParserProvider parserProvider,
                                          @NotNull
                                          @NotNull ResourceLoader resourceLoader)
      • createDocumentInputStream

        @Nullable
        private @Nullable java.io.InputStream createDocumentInputStream​(@NotNull
                                                                        @NotNull java.io.InputStream is)