public class SVGConverterFileSource extends java.lang.Object implements SVGConverterSource
SVGConverter
Constructor and Description |
---|
SVGConverterFileSource(java.io.File file) |
SVGConverterFileSource(java.io.File file,
java.lang.String ref) |
Modifier and Type | Method and 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()
SVGConverterSource
getName
in interface SVGConverterSource
public java.io.File getFile()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getURI()
SVGConverterSource
getURI
in interface SVGConverterSource
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.io.InputStream openStream() throws java.io.FileNotFoundException
SVGConverterSource
TranscoderInput
for that sourceopenStream
in interface SVGConverterSource
java.io.FileNotFoundException
public boolean isSameAs(java.lang.String srcStr)
SVGConverterSource
isSameAs
in interface SVGConverterSource
public boolean isReadable()
SVGConverterSource
isReadable
in interface SVGConverterSource
Copyright © 2022 Apache Software Foundation. All Rights Reserved.