| Constructor and Description |
|---|
ImageSource(ImageInputStream in,
String systemId,
boolean fastSource)
Main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ImageInputStream |
getImageInputStream()
Returns the ImageInputStream.
|
InputStream |
getInputStream()
Returns an InputStream which operates on the underlying ImageInputStream.
|
String |
getSystemId() |
boolean |
isFastSource()
Indicates whether this ImageSource is a fast source, i.e.
|
void |
setImageInputStream(ImageInputStream in)
Sets the ImageInputStream.
|
void |
setSystemId(String systemId) |
String |
toString() |
public ImageSource(ImageInputStream in, String systemId, boolean fastSource)
in - the ImageInputStream to load fromsystemId - the system identifier (resolved URI) of the imagefastSource - true if it's a fast source (accessing local files)public InputStream getInputStream()
public ImageInputStream getImageInputStream()
public void setImageInputStream(ImageInputStream in)
in - the ImageInputStreampublic String getSystemId()
getSystemId in interface Sourcepublic void setSystemId(String systemId)
setSystemId in interface Sourcepublic boolean isFastSource()
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.