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