Constructor | Description |
---|---|
ImageSource(ImageInputStream in,
String systemId,
boolean fastSource) |
Main constructor.
|
Modifier and Type | Method | 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 Source
public void setSystemId(String systemId)
setSystemId
in interface Source
public boolean isFastSource()
Copyright © 2018 Apache Software Foundation. All rights reserved.