public class MetaSourceImpl extends Object implements MetaSource
Constructor and Description |
---|
MetaSourceImpl() |
MetaSourceImpl(Source source) |
MetaSourceImpl(URI uri) |
MetaSourceImpl(URI uri,
String mimeType) |
MetaSourceImpl(URI uri,
String mimeType,
String encoding) |
MetaSourceImpl(URI uri,
String mimeType,
String encoding,
long length) |
Modifier and Type | Method and Description |
---|---|
String |
getEncoding()
キャラクタ・エンコーディングを返します。未定の場合はnullです。
|
long |
getLength()
データのサイズを返します。不明な場合は-1を返します。
|
String |
getMimeType()
データのMIME型を返します。不確定な場合はnull。
|
URI |
getURI()
データのURIを返します。
|
void |
setEncoding(String encoding) |
void |
setLength(long length) |
void |
setMimeType(String mimeType) |
void |
setURI(URI uri) |
public MetaSourceImpl()
public MetaSourceImpl(URI uri)
public MetaSourceImpl(Source source) throws IOException
IOException
public URI getURI()
MetaSource
getURI
in interface MetaSource
public void setURI(URI uri)
public String getEncoding()
MetaSource
getEncoding
in interface MetaSource
public void setEncoding(String encoding)
public String getMimeType()
MetaSource
getMimeType
in interface MetaSource
public void setMimeType(String mimeType)
public long getLength()
MetaSource
getLength
in interface MetaSource
public void setLength(long length)
Copyright © 2018 座間ソフト. All rights reserved.