|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.components.io.resources.AbstractPlexusIoResource
org.codehaus.plexus.components.io.resources.PlexusIoURLResource
public class PlexusIoURLResource
Field Summary |
---|
Fields inherited from interface org.codehaus.plexus.components.io.resources.PlexusIoResource |
---|
UNKNOWN_MODIFICATION_DATE, UNKNOWN_RESOURCE_SIZE |
Constructor Summary | |
---|---|
PlexusIoURLResource()
|
Method Summary | |
---|---|
java.io.InputStream |
getContents()
Creates an InputStream , which may be used to read
the files contents. |
java.net.URL |
getURL()
Returns an URL , which may be used to reference the
resource, if possible. |
void |
setURL(java.net.URL pUrl)
|
Methods inherited from class org.codehaus.plexus.components.io.resources.AbstractPlexusIoResource |
---|
getLastModified, getName, getSize, isDirectory, isExisting, isFile, setDirectory, setExisting, setFile, setLastModified, setName, setSize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlexusIoURLResource()
Method Detail |
---|
public java.io.InputStream getContents() throws java.io.IOException
FileInfo
InputStream
, which may be used to read
the files contents. This is useful, if the file selector
comes to a decision based on the files contents.
java.io.IOException
public java.net.URL getURL() throws java.io.IOException
PlexusIoResource
URL
, which may be used to reference the
resource, if possible.
#getInputStream()
.
java.io.IOException
public void setURL(java.net.URL pUrl)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |