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