public class GlobusResource
extends java.lang.Object
| Constructor and Description |
|---|
GlobusResource(java.lang.String resourcePath)
Creates a new instance of GlobusResource referencing the
specified resourcePath.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists() |
java.io.File |
getFile() |
java.lang.String |
getFilename() |
java.io.InputStream |
getInputStream() |
java.net.URI |
getURI() |
java.net.URL |
getURL() |
boolean |
isReadable() |
long |
lastModified() |
java.lang.String |
toString() |
java.lang.String |
toURI() |
java.lang.String |
toURL() |
public GlobusResource(java.lang.String resourcePath)
resourcePath - The path to the specified resource in the style
/directory/directory/fileName.extpublic java.lang.String toURI()
public java.lang.String toURL()
throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic java.net.URI getURI()
throws java.io.IOException
java.io.IOExceptionpublic java.net.URL getURL()
throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic java.io.File getFile()
throws java.io.IOException
java.io.IOExceptionpublic boolean exists()
public long lastModified()
throws java.io.IOException
java.io.IOExceptionpublic boolean isReadable()
public java.io.InputStream getInputStream()
throws java.io.FileNotFoundException,
java.io.IOException
java.io.FileNotFoundExceptionjava.io.IOExceptionpublic java.lang.String getFilename()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2013. All Rights Reserved.