jp.carabiner.inkpod.model
インタフェース Resource
- 既知のサブインタフェースの一覧:
- EmbeddedResource
- 既知の実装クラスの一覧:
- FileResource, URLResource
public interface Resource
InputStream, OutputStreamで読み書きできるリソースの抽象化インタフェース。
getFilename
java.lang.String getFilename()
exists
boolean exists()
length
long length()
lastModified
long lastModified()
setLastModified
void setLastModified(long lastModified)
getPath
java.lang.String getPath()
throws java.io.IOException
- 例外:
java.io.IOException
getFile
java.io.File getFile()
isFile
boolean isFile()
toURI
java.net.URI toURI()
getResource
Resource getResource(java.lang.String relativePath)
getRelativePath
java.lang.String getRelativePath(Resource resource)
throws java.io.IOException
- 例外:
java.io.IOException
getParent
Resource getParent()
getInputStream
java.io.InputStream getInputStream()
throws java.io.IOException
- 例外:
java.io.IOException
isWritable
boolean isWritable()
getOutputStream
java.io.OutputStream getOutputStream()
throws java.io.IOException
- 例外:
java.io.IOException