Package com.github.weisj.jsvg.parser
Class SVGLoader
java.lang.Object
com.github.weisj.jsvg.parser.SVGLoader
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.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable SVGDocumentload(@NotNull InputStream inputStream) @Nullable SVGDocumentload(@NotNull InputStream inputStream, @NotNull ParserProvider parserProvider) @Nullable SVGDocumentload(@NotNull InputStream inputStream, @NotNull ParserProvider parserProvider, @NotNull ResourceLoader resourceLoader) @Nullable SVGDocument@Nullable SVGDocumentload(@NotNull URL xmlBase, @NotNull ParserProvider parserProvider)
-
Constructor Details
-
SVGLoader
public SVGLoader()
-
-
Method Details
-
load
-
load
@Nullable public @Nullable SVGDocument load(@NotNull @NotNull URL xmlBase, @NotNull @NotNull ParserProvider parserProvider) -
load
-
load
@Nullable public @Nullable SVGDocument load(@NotNull @NotNull InputStream inputStream, @NotNull @NotNull ParserProvider parserProvider) -
load
@Nullable public @Nullable SVGDocument load(@NotNull @NotNull InputStream inputStream, @NotNull @NotNull ParserProvider parserProvider, @NotNull @NotNull ResourceLoader resourceLoader)
-