public interface Source extends MetaSource
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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()
getURI インタフェース内 MetaSourceboolean exists()
throws IOException
IOExceptionString getMimeType() throws IOException
getMimeType インタフェース内 MetaSourceIOExceptionString getEncoding() throws IOException
getEncoding インタフェース内 MetaSourceIOExceptionboolean isInputStream()
throws IOException
IOExceptionInputStream getInputStream() throws IOException, UnsupportedOperationException
IOExceptionUnsupportedOperationExceptionboolean isReader()
throws IOException
IOExceptionReader getReader() throws IOException, UnsupportedOperationException
IOExceptionUnsupportedOperationExceptionboolean isFile()
throws IOException
IOExceptionFile getFile() throws UnsupportedOperationException
UnsupportedOperationExceptionSourceValidity getValidity() throws IOException
IOExceptionlong getLength()
throws IOException
getLength インタフェース内 MetaSourceIOExceptionCopyright © 2024 座間ソフト. All rights reserved.