构造器和说明 |
---|
ImageSource(ImageInputStream in,
String systemId,
boolean fastSource)
Main constructor.
|
限定符和类型 | 方法和说明 |
---|---|
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. accesses local files rather than
network resources.
|
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
在接口中 Source
public void setSystemId(String systemId)
setSystemId
在接口中 Source
public boolean isFastSource()
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.