| Constructor and Description |
|---|
URLResource(java.net.URL url) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
buffer() |
void |
close() |
java.lang.String |
getExtra() |
long |
lastModified() |
java.io.InputStream |
openInputStream() |
void |
setExtra(java.lang.String extra) |
long |
size() |
java.lang.String |
toString() |
void |
write(java.io.OutputStream out) |
public java.nio.ByteBuffer buffer()
throws java.lang.Exception
public java.io.InputStream openInputStream()
throws java.lang.Exception
openInputStream in interface Resourcejava.lang.Exceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void write(java.io.OutputStream out)
throws java.lang.Exception
public long lastModified()
lastModified in interface Resourcepublic long size()
throws java.lang.Exception
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionCopyright (c) aQute SARL (2000, 2017) and others. All Rights Reserved.