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
SVGConverterException
public String getURI()
SVGConverterSource
getURI
in interface SVGConverterSource
public InputStream openStream() throws IOException
SVGConverterSource
TranscoderInput
for that sourceopenStream
in interface SVGConverterSource
IOException
public boolean isSameAs(String srcStr)
SVGConverterSource
isSameAs
in interface SVGConverterSource
public boolean isReadable()
SVGConverterSource
isReadable
in interface SVGConverterSource
public String getName()
SVGConverterSource
getName
in interface SVGConverterSource
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.