public class OriginTrackedResource extends ObjectSE implements Resource, OriginProvider
of(Resource, Origin)
, of(WritableResource, Origin)
, OriginProvider
修飾子と型 | クラスと説明 |
---|---|
static class | OriginTrackedResource.OriginTrackedWritableResource WritableResource インスタンスの OriginTrackedResource のバリアント。 |
修飾子と型 | メソッドと説明 |
---|---|
long | contentLength() |
Resource | createRelative(StringSE relativePath) |
boolean | equals(ObjectSE obj) |
boolean | exists() |
StringSE | getDescription() |
FileSE | getFile() |
StringSE | getFilename() |
InputStreamSE | getInputStream() |
Origin | getOrigin() ソースの原点、または原点が不明の場合は null を返します。 |
Resource | getResource() |
URISE | getURI() |
URLSE | getURL() |
int | hashCode() |
boolean | isFile() |
boolean | isOpen() |
boolean | isReadable() |
long | lastModified() |
static OriginTrackedResource | of(Resource resource, Origin origin) 指定された Resource の新しい origin tracked バージョンを返します。 |
static OriginTrackedResource.OriginTrackedWritableResource | of(WritableResource resource, Origin origin) 指定された WritableResource の新しい origin tracked バージョンを返します。 |
ReadableByteChannelSE | readableChannel() |
StringSE | toString() |
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public InputStreamSE getInputStream() throws IOExceptionSE
InputStreamSource
の getInputStream
IOExceptionSE
public boolean isReadable()
Resource
の isReadable
public URLSE getURL() throws IOExceptionSE
Resource
の getURL
IOExceptionSE
public URISE getURI() throws IOExceptionSE
Resource
の getURI
IOExceptionSE
public FileSE getFile() throws IOExceptionSE
Resource
の getFile
IOExceptionSE
public ReadableByteChannelSE readableChannel() throws IOExceptionSE
Resource
の readableChannel
IOExceptionSE
public long contentLength() throws IOExceptionSE
Resource
の contentLength
IOExceptionSE
public long lastModified() throws IOExceptionSE
Resource
の lastModified
IOExceptionSE
public Resource createRelative(StringSE relativePath) throws IOExceptionSE
Resource
の createRelative
IOExceptionSE
public StringSE getFilename()
Resource
の getFilename
public StringSE getDescription()
Resource
の getDescription
public Resource getResource()
public Origin getOrigin()
OriginProvider
null
を返します。OriginProvider
の getOrigin
null
public int hashCode()
ObjectSE
の hashCodeSE
public StringSE toString()
ObjectSE
の toStringSE
public static OriginTrackedResource.OriginTrackedWritableResource of(WritableResource resource, Origin origin)
WritableResource
の新しい origin tracked
バージョンを返します。resource
- 追跡されたリソース origin
- リソースの起源 OriginTrackedResource.OriginTrackedWritableResource
インスタンス public static OriginTrackedResource of(Resource resource, Origin origin)
Resource
の新しい origin tracked
バージョンを返します。resource
- 追跡されたリソース origin
- リソースの起源 OriginTrackedResource
インスタンス