|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectjp.cssj.resolver.cache.CachedSource
public class CachedSource
仮想的なURIと保存されたファイルを結びつけたデータです。
| コンストラクタの概要 | |
|---|---|
CachedSource(URI uri,
String mimeType,
String encoding,
File file)
|
|
| メソッドの概要 | |
|---|---|
void |
close()
|
boolean |
exists()
データが存在すればtrueを返します。 |
protected void |
finalize()
|
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を返します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public CachedSource(URI uri,
String mimeType,
String encoding,
File file)
| メソッドの詳細 |
|---|
public URI getURI()
MetaSource の記述:
MetaSource 内の getURISource 内の getURIpublic String getEncoding()
MetaSource の記述:
MetaSource 内の getEncodingSource 内の getEncodingpublic String getMimeType()
MetaSource の記述:
MetaSource 内の getMimeTypeSource 内の getMimeType
public InputStream getInputStream()
throws IOException
Source の記述:
Source 内の getInputStreamIOException
public Reader getReader()
throws IOException
Source の記述:
Source 内の getReaderIOExceptionpublic boolean isFile()
Source の記述:
Source 内の isFilepublic File getFile()
Source の記述:
Source 内の getFilepublic void close()
public boolean exists()
throws IOException
Source の記述:
Source 内の existsIOException
public boolean isInputStream()
throws IOException
Source の記述:
Source 内の isInputStreamIOException
public long getLength()
throws IOException
MetaSource の記述:
MetaSource 内の getLengthSource 内の getLengthIOException
public boolean isReader()
throws IOException
Source の記述:
Source 内の isReaderIOExceptionprotected void finalize()
Object 内の finalizepublic SourceValidity getValidity()
Source の記述:
Source 内の getValidity
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||