|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
public interface Source
ファイル、ウェブ上の文書等のデータの源です。
メソッドの概要 | |
---|---|
boolean |
exists()
データが存在すればtrueを返します。 |
String |
getEncoding()
キャラクタ・エンコーディングを返します。 |
File |
getFile()
ファイルとして返します。 |
InputStream |
getInputStream()
バイナリストリームを返します。 |
long |
getLength()
データのサイズを返します。 |
String |
getMimeType()
データのMIME型を返します。 |
Reader |
getReader()
テキストストリームを返します。 |
URI |
getURI()
データのURIを返します。 |
SourceValidity |
getValidity()
データの変更情報を返します。 |
boolean |
isFile()
ファイルならtrueを返します。 |
boolean |
isInputStream()
バイナリデータとして取得可能ならtrueを返します。 |
boolean |
isReader()
テキストデータとして取得可能ならtrueを返します。 |
メソッドの詳細 |
---|
URI getURI()
MetaSource
内の getURI
boolean exists() throws IOException
IOException
String getMimeType() throws IOException
MetaSource
内の getMimeType
IOException
String getEncoding() throws IOException
MetaSource
内の getEncoding
IOException
boolean isInputStream() throws IOException
IOException
InputStream getInputStream() throws IOException, UnsupportedOperationException
IOException
UnsupportedOperationException
boolean isReader() throws IOException
IOException
Reader getReader() throws IOException, UnsupportedOperationException
IOException
UnsupportedOperationException
boolean isFile() throws IOException
IOException
File getFile() throws UnsupportedOperationException
UnsupportedOperationException
SourceValidity getValidity() throws IOException
IOException
long getLength() throws IOException
MetaSource
内の getLength
IOException
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |