jp.carabiner.inkpod.model
クラス FileResource
java.lang.Object
jp.carabiner.inkpod.model.FileResource
- すべての実装されたインタフェース:
- java.io.Serializable, Resource
public class FileResource
- extends java.lang.Object
- implements Resource, java.io.Serializable
- 関連項目:
- 直列化された形式
クラス java.lang.Object から継承されたメソッド |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
FileResource
public FileResource(java.io.File file)
getFile
public java.io.File getFile()
- 定義:
- インタフェース
Resource
内の getFile
isFile
public boolean isFile()
- 定義:
- インタフェース
Resource
内の isFile
length
public long length()
- 定義:
- インタフェース
Resource
内の length
lastModified
public long lastModified()
- 定義:
- インタフェース
Resource
内の lastModified
setLastModified
public void setLastModified(long lastModified)
- 定義:
- インタフェース
Resource
内の setLastModified
exists
public boolean exists()
- 定義:
- インタフェース
Resource
内の exists
getFilename
public java.lang.String getFilename()
- 定義:
- インタフェース
Resource
内の getFilename
getPath
public java.lang.String getPath()
throws java.io.IOException
- 定義:
- インタフェース
Resource
内の getPath
- 例外:
java.io.IOException
getResource
public Resource getResource(java.lang.String relativePath)
- 定義:
- インタフェース
Resource
内の getResource
getParent
public Resource getParent()
- 定義:
- インタフェース
Resource
内の getParent
toURI
public java.net.URI toURI()
- 定義:
- インタフェース
Resource
内の toURI
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
- 定義:
- インタフェース
Resource
内の getInputStream
- 例外:
java.io.IOException
isWritable
public boolean isWritable()
- 定義:
- インタフェース
Resource
内の isWritable
getOutputStream
public java.io.OutputStream getOutputStream()
throws java.io.IOException
- 定義:
- インタフェース
Resource
内の getOutputStream
- 例外:
java.io.IOException
getRelativePath
public java.lang.String getRelativePath(Resource resource)
throws java.io.IOException
- 定義:
- インタフェース
Resource
内の getRelativePath
- 例外:
java.io.IOException
hashCode
public int hashCode()
- オーバーライド:
- クラス
java.lang.Object
内の hashCode
equals
public boolean equals(java.lang.Object obj)
- オーバーライド:
- クラス
java.lang.Object
内の equals
toString
public java.lang.String toString()
- オーバーライド:
- クラス
java.lang.Object
内の toString