defaultPath, userDirPath| Modifier and Type | Method and Description |
|---|---|
static URLPath |
classResourcePath(java.lang.Class clas) |
long |
getContentLength() |
static int |
getContentLength(java.net.URL url) |
long |
getLastModified() |
static long |
getLastModified(java.net.URL url) |
boolean |
isAbsolute() |
java.io.InputStream |
openInputStream() |
static java.io.InputStream |
openInputStream(java.net.URL url) |
java.io.OutputStream |
openOutputStream() |
static java.io.OutputStream |
openOutputStream(java.net.URL url) |
Path |
resolve(java.lang.String relative) |
java.net.URI |
toUri() |
static java.net.URI |
toUri(java.net.URL url) |
java.lang.String |
toURIString() |
java.net.URL |
toURL() |
static URLPath |
valueOf(java.net.URL url) |
coerceToURIPathOrNull, compareTo, encodeForUri, equals, exists, getAuthority, getCanonical, getFragment, getHost, getPath, getPort, getQuery, getScheme, getUserInfo, hashCode, makeURI, toString, valueOf, valueOfcoerceToPathOrNull, currentPath, delete, getAbsolute, getCharContent, getDirectory, getExtension, getLast, getName, getParent, isDirectory, openInputStream, openReader, openWriter, relativize, resolve, setCurrentPath, toURI, toURL, uriSchemeLength, uriSchemeSpecified, valueOfpublic static URLPath valueOf(java.net.URL url)
public boolean isAbsolute()
isAbsolute in class URIPathpublic long getLastModified()
getLastModified in interface javax.tools.FileObjectgetLastModified in class URIPathpublic static long getLastModified(java.net.URL url)
public long getContentLength()
getContentLength in class URIPathpublic static int getContentLength(java.net.URL url)
public static java.net.URI toUri(java.net.URL url)
public java.net.URI toUri()
public java.lang.String toURIString()
toURIString in class URIPathpublic static java.io.InputStream openInputStream(java.net.URL url)
throws java.io.IOException
java.io.IOExceptionpublic java.io.InputStream openInputStream()
throws java.io.IOException
openInputStream in interface javax.tools.FileObjectopenInputStream in class URIPathjava.io.IOExceptionpublic static java.io.OutputStream openOutputStream(java.net.URL url)
throws java.io.IOException
java.io.IOExceptionpublic java.io.OutputStream openOutputStream()
throws java.io.IOException
openOutputStream in interface javax.tools.FileObjectopenOutputStream in class URIPathjava.io.IOExceptionpublic static URLPath classResourcePath(java.lang.Class clas)