|
xmlgraphics-commons 1.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xmlgraphics.image.loader.ImageSource
public class ImageSource
Acts as a holder for the input to image loading operations.
| Constructor Summary | |
|---|---|
ImageSource(ImageInputStream in,
String systemId,
boolean fastSource)
Main constructor. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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)| Method Detail |
|---|
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()
public String toString()
toString in class Object
|
xmlgraphics-commons 1.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||