public class SVGConverterURLSource extends Object implements SVGConverterSource
| Modifier and Type | Field and Description |
|---|---|
static String |
ERROR_INVALID_URL |
protected static String |
SVG_EXTENSION
SVG file extension
|
protected static String |
SVGZ_EXTENSION |
| Constructor and Description |
|---|
SVGConverterURLSource(String url) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getName()
Returns the name of the source.
|
String |
getURI()
Returns a URI string corresponding to this source
|
int |
hashCode() |
boolean |
isReadable()
Checks if source can be read
|
boolean |
isSameAs(String srcStr)
Checks if same as source described by srcStr
|
InputStream |
openStream()
Gets a
TranscoderInput for that source |
String |
toString() |
protected static final String SVG_EXTENSION
protected static final String SVGZ_EXTENSION
public static final String ERROR_INVALID_URL
public SVGConverterURLSource(String url) throws SVGConverterException
SVGConverterExceptionpublic String getURI()
SVGConverterSourcegetURI in interface SVGConverterSourcepublic InputStream openStream() throws IOException
SVGConverterSourceTranscoderInput for that sourceopenStream in interface SVGConverterSourceIOExceptionpublic boolean isSameAs(String srcStr)
SVGConverterSourceisSameAs in interface SVGConverterSourcepublic boolean isReadable()
SVGConverterSourceisReadable in interface SVGConverterSourcepublic String getName()
SVGConverterSourcegetName in interface SVGConverterSourceCopyright © 2000–2024 Apache Software Foundation. All rights reserved.