public static interface ResourcesStorage.Resource
extends java.io.Closeable
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
asInputStream() |
java.io.OutputStream |
asOutputStream() |
void |
close() |
boolean |
exists() |
java.lang.String |
getName()
Return the name of the resource.
|
java.net.URL |
getURL() |
boolean |
isReadOnly()
El recurso es de solo lectura, normalmente por que el tipo de recurso
no permite escribir sobre el.
|
java.lang.String getName()
boolean isReadOnly()
java.net.URL getURL()
boolean exists()
java.io.InputStream asInputStream() throws java.io.IOException
java.io.IOException
java.io.OutputStream asOutputStream() throws java.io.IOException
java.io.IOException
void close()
close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable