|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.cssj.resolver.helpers.AbstractSource
jp.cssj.resolver.stream.StreamSource
public class StreamSource
ストリームからデータを取得するSourceです。
フィールドの概要 |
---|
クラス jp.cssj.resolver.helpers.AbstractSource から継承されたフィールド |
---|
uri |
コンストラクタの概要 | |
---|---|
StreamSource(URI uri,
InputStream in)
|
|
StreamSource(URI uri,
InputStream in,
String mimeType)
|
|
StreamSource(URI uri,
InputStream in,
String mimeType,
long length)
|
|
StreamSource(URI uri,
InputStream in,
String mimeType,
String encoding)
|
|
StreamSource(URI uri,
InputStream in,
String mimeType,
String encoding,
long length)
|
|
StreamSource(URI uri,
Reader reader)
|
|
StreamSource(URI uri,
Reader reader,
String mimeType)
|
|
StreamSource(URI uri,
Reader reader,
String mimeType,
String encoding)
|
|
StreamSource(URI uri,
Reader reader,
String mimeType,
String encoding,
long length)
|
メソッドの概要 | |
---|---|
boolean |
exists()
データが存在すればtrueを返します。 |
String |
getEncoding()
キャラクタ・エンコーディングを返します。 |
File |
getFile()
ファイルとして返します。 |
InputStream |
getInputStream()
バイナリストリームを返します。 |
long |
getLength()
データのサイズを返します。 |
String |
getMimeType()
データのMIME型を返します。 |
Reader |
getReader()
テキストストリームを返します。 |
URI |
getURI()
データのURIを返します。 |
SourceValidity |
getValidity()
データの変更情報を返します。 |
boolean |
isInputStream()
バイナリデータとして取得可能ならtrueを返します。 |
boolean |
isReader()
テキストデータとして取得可能ならtrueを返します。 |
クラス jp.cssj.resolver.helpers.AbstractSource から継承されたメソッド |
---|
close, isFile |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public StreamSource(URI uri, InputStream in, String mimeType, String encoding, long length) throws UnsupportedEncodingException
UnsupportedEncodingException
public StreamSource(URI uri, InputStream in, String mimeType, long length)
public StreamSource(URI uri, Reader reader, String mimeType, String encoding, long length) throws IOException
IOException
public StreamSource(URI uri, InputStream in, String mimeType, String encoding) throws UnsupportedEncodingException
UnsupportedEncodingException
public StreamSource(URI uri, InputStream in, String mimeType)
public StreamSource(URI uri, InputStream in)
public StreamSource(URI uri, Reader reader, String mimeType, String encoding) throws IOException
IOException
public StreamSource(URI uri, Reader reader, String mimeType) throws IOException
IOException
public StreamSource(URI uri, Reader reader) throws IOException
IOException
メソッドの詳細 |
---|
public URI getURI()
MetaSource
の記述:
MetaSource
内の getURI
Source
内の getURI
AbstractSource
内の getURI
public String getMimeType()
MetaSource
の記述:
public boolean exists()
Source
の記述:
public String getEncoding()
MetaSource
の記述:
public boolean isInputStream()
Source
の記述:
Source
内の isInputStream
AbstractSource
内の isInputStream
public boolean isReader()
Source
の記述:
Source
内の isReader
AbstractSource
内の isReader
public InputStream getInputStream() throws IOException
Source
の記述:
IOException
public Reader getReader() throws IOException
Source
の記述:
IOException
public File getFile()
Source
の記述:
public long getLength() throws IOException
MetaSource
の記述:
IOException
public SourceValidity getValidity()
Source
の記述:
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |