public class SVGConverterFileSource extends Object implements SVGConverterSource
SVGConverter| Constructor and Description |
|---|
SVGConverterFileSource(File file) |
SVGConverterFileSource(File file,
String ref) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
File |
getFile() |
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() |
public SVGConverterFileSource(File file)
public String getName()
SVGConverterSourcegetName in interface SVGConverterSourcepublic File getFile()
public String getURI()
SVGConverterSourcegetURI in interface SVGConverterSourcepublic InputStream openStream() throws FileNotFoundException
SVGConverterSourceTranscoderInput for that sourceopenStream in interface SVGConverterSourceFileNotFoundExceptionpublic boolean isSameAs(String srcStr)
SVGConverterSourceisSameAs in interface SVGConverterSourcepublic boolean isReadable()
SVGConverterSourceisReadable in interface SVGConverterSourceCopyright © 2000–2017 Apache Software Foundation. All rights reserved.