SVGConverterSourcepublic class SVGConverterFileSource extends java.lang.Object implements SVGConverterSource
| Constructor | Description |
|---|---|
SVGConverterFileSource(java.io.File file) |
|
SVGConverterFileSource(java.io.File file,
java.lang.String ref) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object o) |
|
java.io.File |
getFile() |
|
java.lang.String |
getName() |
Returns the name of the source.
|
java.lang.String |
getURI() |
Returns a URI string corresponding to this source
|
int |
hashCode() |
|
boolean |
isReadable() |
Checks if source can be read
|
boolean |
isSameAs(java.lang.String srcStr) |
Checks if same as source described by srcStr
|
java.io.InputStream |
openStream() |
Gets a TranscoderInput for that source
|
java.lang.String |
toString() |
public SVGConverterFileSource(java.io.File file)
public SVGConverterFileSource(java.io.File file,
java.lang.String ref)
public java.lang.String getName()
SVGConverterSourcegetName in interface SVGConverterSourcepublic java.io.File getFile()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getURI()
SVGConverterSourcegetURI in interface SVGConverterSourcepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.io.InputStream openStream()
throws java.io.FileNotFoundException
SVGConverterSourceopenStream in interface SVGConverterSourcejava.io.FileNotFoundExceptionpublic boolean isSameAs(java.lang.String srcStr)
SVGConverterSourceisSameAs in interface SVGConverterSourcepublic boolean isReadable()
SVGConverterSourceisReadable in interface SVGConverterSource