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

関連項目:
直列化された形式

コンストラクタの概要
FileResource(java.io.File file)
           
 
メソッドの概要
 boolean equals(java.lang.Object obj)
           
 boolean exists()
           
 java.io.File getFile()
           
 java.lang.String getFilename()
           
 java.io.InputStream getInputStream()
           
 java.io.OutputStream getOutputStream()
           
 Resource getParent()
           
 java.lang.String getPath()
           
 java.lang.String getRelativePath(Resource resource)
           
 Resource getResource(java.lang.String relativePath)
           
 int hashCode()
           
 boolean isFile()
           
 boolean isWritable()
           
 long lastModified()
           
 long length()
           
 void setLastModified(long lastModified)
           
 java.lang.String toString()
           
 java.net.URI toURI()
           
 
クラス 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