public abstract class AbstractSource extends Object implements Source, Closeable
| コンストラクタと説明 | 
|---|
| AbstractSource(URI uri) | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| void | close() | 
| URI | getURI()データのURIを返します。 | 
| boolean | isFile()ファイルならtrueを返します。 | 
| boolean | isInputStream()バイナリデータとして取得可能ならtrueを返します。 | 
| boolean | isReader()テキストデータとして取得可能ならtrueを返します。 | 
| String | toString() | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitexists, getEncoding, getFile, getInputStream, getLength, getMimeType, getReader, getValidityprotected final URI uri
public AbstractSource(URI uri)
public URI getURI()
SourcegetURI インタフェース内 MetaSourcegetURI インタフェース内 Sourcepublic boolean isInputStream()
                      throws IOException
SourceisInputStream インタフェース内 SourceIOExceptionpublic boolean isFile()
               throws IOException
SourceisFile インタフェース内 SourceIOExceptionpublic boolean isReader()
                 throws IOException
SourceisReader インタフェース内 SourceIOExceptionpublic void close()
close インタフェース内 Closeableclose インタフェース内 AutoCloseableCopyright © 2024 座間ソフト. All rights reserved.