public class URLPath extends NutsPathBase implements NutsPathSPI
| Modifier | Constructor and Description |
|---|---|
|
URLPath(URL url,
NutsSession session) |
protected |
URLPath(URL url,
NutsSession session,
boolean acceptNull) |
| Modifier and Type | Method and Description |
|---|---|
String |
asString() |
void |
delete(boolean recurse) |
boolean |
equals(Object o) |
boolean |
exists() |
NutsFormat |
formatter() |
String |
getContentEncoding() |
long |
getContentLength() |
String |
getContentType() |
NutsFormatSPI |
getFormatterSPI() |
Instant |
getLastModifiedInstant() |
String |
getLocation() |
String |
getName() |
int |
hashCode() |
NutsInput |
input() |
InputStream |
inputStream() |
void |
mkdir(boolean parents) |
NutsOutput |
output() |
OutputStream |
outputStream() |
NutsPath |
toCompressedForm() |
Path |
toFilePath() |
String |
toString() |
URL |
toURL() |
asFilePath, asURL, getBaseName, getFormattedName, getFullExtension, getLastExtension, getSession, isFilePath, isURL, toNutsStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetSessionformatprotected URL url
public URLPath(URL url, NutsSession session)
protected URLPath(URL url, NutsSession session, boolean acceptNull)
public String toString()
public String getContentEncoding()
getContentEncoding in interface NutsPathgetContentEncoding in interface NutsPathSPIpublic String getContentType()
getContentType in interface NutsPathgetContentType in interface NutsPathSPIpublic String getName()
getName in interface NutsPathgetName in interface NutsPathSPIpublic String asString()
asString in interface NutsPathasString in interface NutsPathSPIpublic String getLocation()
getLocation in interface NutsPathgetLocation in interface NutsPathSPIpublic NutsPath toCompressedForm()
toCompressedForm in interface NutsPathtoCompressedForm in interface NutsPathSPIpublic URL toURL()
toURL in interface NutsPathtoURL in interface NutsPathSPIpublic Path toFilePath()
toFilePath in interface NutsPathtoFilePath in interface NutsPathSPIpublic NutsOutput output()
public void delete(boolean recurse)
delete in interface NutsPathdelete in interface NutsPathSPIpublic void mkdir(boolean parents)
mkdir in interface NutsPathmkdir in interface NutsPathSPIpublic boolean exists()
exists in interface NutsPathexists in interface NutsPathSPIpublic long getContentLength()
getContentLength in interface NutsPathgetContentLength in interface NutsPathSPIpublic Instant getLastModifiedInstant()
getLastModifiedInstant in interface NutsPathgetLastModifiedInstant in interface NutsPathSPIpublic NutsFormat formatter()
formatter in interface NutsFormattableformatter in class NutsPathBasepublic NutsFormatSPI getFormatterSPI()
getFormatterSPI in interface NutsPathSPIpublic InputStream inputStream()
inputStream in interface NutsPathSPIpublic OutputStream outputStream()
outputStream in interface NutsPathSPICopyright © 2021 vpc open source initiative. All rights reserved.