|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openjump.util.UriUtil
public final class UriUtil
Utility class for handline URI.
| Method Summary | |
|---|---|
static java.lang.String |
getFileExtension(java.net.URI uri)
Get the file extension from the URI path. |
static java.lang.String |
getFileName(java.net.URI uri)
Get the file name from the URI path. |
static java.lang.String |
getFileNameWithoutExtension(java.net.URI uri)
Get the file name without the extension from the URI path. |
static java.net.URI |
getUri(java.io.File file,
java.util.zip.ZipEntry entry)
Create a URI to the entry within a ZIP file. |
static java.lang.String |
getZipEntryFilePath(java.net.URI uri)
Get the path to an entry in a ZIP URI. |
static java.lang.String |
getZipEntryName(java.net.URI uri)
Get the name of a ZIP file entry from a ZIP URI. |
static java.io.File |
getZipFile(java.net.URI uri)
Get the ZIP file name from a ZIP URI. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.net.URI getUri(java.io.File file,
java.util.zip.ZipEntry entry)
file - The ZIP file.entry - The ZIP entry.
public static java.io.File getZipFile(java.net.URI uri)
uri - The URI.
public static java.lang.String getZipEntryName(java.net.URI uri)
uri - The URI.
public static java.lang.String getFileExtension(java.net.URI uri)
uri - The URI.
public static java.lang.String getFileName(java.net.URI uri)
uri - The URI.
public static java.lang.String getFileNameWithoutExtension(java.net.URI uri)
uri - The URI.
public static java.lang.String getZipEntryFilePath(java.net.URI uri)
uri - The zip URI
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||