Package org.apache.batik.apps.rasterizer
Interface SVGConverterSource
-
- All Known Implementing Classes:
SVGConverterFileSource
,SVGConverterURLSource
public interface SVGConverterSource
Interface used to handle both Files and URLs in theSVGConverter
- Version:
- $Id: SVGConverterSource.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getName()
Returns the name of the source.java.lang.String
getURI()
Returns a URI string corresponding to this sourceboolean
isReadable()
Checks if source can be readboolean
isSameAs(java.lang.String srcStr)
Checks if same as source described by srcStrjava.io.InputStream
openStream()
Gets aTranscoderInput
for that source
-
-
-
Method Detail
-
getName
java.lang.String getName()
Returns the name of the source. That would be the name for a File or URL
-
openStream
java.io.InputStream openStream() throws java.io.IOException
Gets aTranscoderInput
for that source- Throws:
java.io.IOException
-
isSameAs
boolean isSameAs(java.lang.String srcStr)
Checks if same as source described by srcStr
-
isReadable
boolean isReadable()
Checks if source can be read
-
getURI
java.lang.String getURI()
Returns a URI string corresponding to this source
-
-