public class NutsCompressedPath extends NutsPathBase
| Constructor and Description |
|---|
NutsCompressedPath(NutsPath base) |
NutsCompressedPath(NutsPath base,
String compressedForm,
NutsString formattedCompressedForm) |
| Modifier and Type | Method and Description |
|---|---|
String |
asString() |
static String |
compressPath(String path) |
static String |
compressPath(String path,
int left,
int right) |
static String |
compressUrl(String path) |
void |
delete(boolean recurse) |
boolean |
exists() |
NutsFormat |
formatter() |
String |
getContentEncoding() |
long |
getContentLength() |
String |
getContentType() |
Instant |
getLastModifiedInstant() |
String |
getLocation() |
String |
getName() |
NutsInput |
input() |
void |
mkdir(boolean parents) |
NutsOutput |
output() |
NutsPath |
toCompressedForm() |
Path |
toFilePath() |
String |
toString() |
URL |
toURL() |
asFilePath, asURL, getBaseName, getFormattedName, getFullExtension, getLastExtension, getSession, isFilePath, isURL, toNutsStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitformatpublic NutsCompressedPath(NutsPath base)
public NutsCompressedPath(NutsPath base, String compressedForm, NutsString formattedCompressedForm)
public String getContentEncoding()
public String getContentType()
public String getName()
public String asString()
public String getLocation()
public NutsPath toCompressedForm()
public URL toURL()
public Path toFilePath()
public NutsInput input()
public NutsOutput output()
public void delete(boolean recurse)
public void mkdir(boolean parents)
public boolean exists()
public long getContentLength()
public Instant getLastModifiedInstant()
public String toString()
public NutsFormat formatter()
formatter in interface NutsFormattableformatter in class NutsPathBaseCopyright © 2021 vpc open source initiative. All rights reserved.