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, valueOf
coerceToPathOrNull, currentPath, delete, getAbsolute, getCharContent, getDirectory, getExtension, getLast, getName, getParent, isDirectory, openInputStream, openReader, openWriter, probeContentType, relativize, resolve, setCurrentPath, toNPath, toURI, toURL, uriSchemeLength, uriSchemeSpecified, valueOf
public static URLPath valueOf(java.net.URL url)
public boolean isAbsolute()
isAbsolute
in class URIPath
public long getLastModified()
getLastModified
in interface javax.tools.FileObject
getLastModified
in class URIPath
public static long getLastModified(java.net.URL url)
public long getContentLength()
getContentLength
in class URIPath
public 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 URIPath
public static java.io.InputStream openInputStream(java.net.URL url) throws java.io.IOException
java.io.IOException
public java.io.InputStream openInputStream() throws java.io.IOException
openInputStream
in interface javax.tools.FileObject
openInputStream
in class URIPath
java.io.IOException
public static java.io.OutputStream openOutputStream(java.net.URL url) throws java.io.IOException
java.io.IOException
public java.io.OutputStream openOutputStream() throws java.io.IOException
openOutputStream
in interface javax.tools.FileObject
openOutputStream
in class URIPath
java.io.IOException
public static URLPath classResourcePath(java.lang.Class clas)