|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
ファイル、ウェブ上の文書等のデータの源です。
メソッドの概要 | |
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を返します。 |
メソッドの詳細 |
public URI getURI()
MetaSource
内の getURI
public boolean exists() throws IOException
IOException
public String getMimeType() throws IOException
MetaSource
内の getMimeType
IOException
public String getEncoding() throws IOException
MetaSource
内の getEncoding
IOException
public boolean isInputStream() throws IOException
IOException
public InputStream getInputStream() throws IOException, UnsupportedOperationException
IOException
UnsupportedOperationException
public boolean isReader() throws IOException
IOException
public Reader getReader() throws IOException, UnsupportedOperationException
IOException
UnsupportedOperationException
public boolean isFile() throws IOException
IOException
public File getFile() throws UnsupportedOperationException
UnsupportedOperationException
public SourceValidity getValidity() throws IOException
IOException
public long getLength() throws IOException
MetaSource
内の getLength
IOException
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |