| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectgnu.text.Pathgnu.text.URIPathgnu.text.URLPathpublic class URLPathextends URIPathField Summary |
Fields inherited from class gnu.text.Path | |
defaultPath, userDirPath | |
Method Summary | |
static URLPath |
|
long | |
static int |
|
long | |
static long |
|
boolean | |
InputStream | |
static InputStream |
|
OutputStream | |
static OutputStream |
|
Path |
|
URI |
|
static URI |
|
String | |
URL |
|
static URLPath |
|
Methods inherited from class gnu.text.URIPath | |
coerceToURIPathOrNull, compareTo, compareTo, encodeForUri, equals, exists, getAuthority, getCanonical, getContentLength, getFragment, getHost, getLastModified, getPath, getPort, getQuery, getScheme, getUserInfo, hashCode, isAbsolute, makeURI, openInputStream, openOutputStream, resolve, toString, toURI, toURIString, toURL, valueOf, valueOf | |
Methods inherited from class gnu.text.Path | |
coerceToPathOrNull, currentPath, exists, getAbsolute, getAuthority, getCanonical, getContentLength, getDirectory, getExtension, getFragment, getHost, getLast, getLastModified, getParent, getPath, getPort, getQuery, getScheme, getUserInfo, isAbsolute, isDirectory, openInputStream, openInputStream, openOutputStream, relativize, resolve, resolve, setCurrentPath, toURI, toURIString, toURL, toURL, uriSchemeLength, uriSchemeSpecified, valueOf | |
public static int getContentLength(URL url)
public static long getLastModified(URL url)
public InputStream openInputStream()
throws IOException
- Overrides:
- openInputStream in interface URIPath
public static InputStream openInputStream(URL url)
throws IOExceptionpublic OutputStream openOutputStream()
throws IOException
- Overrides:
- openOutputStream in interface URIPath
public static OutputStream openOutputStream(URL url)
throws IOExceptionpublic static URI toURI(URL url)