org.armedbear.lisp
Class Utilities
java.lang.Object
org.armedbear.lisp.Utilities
public final class Utilities
- extends java.lang.Object
Method Summary |
static boolean |
checkZipFile(Pathname name)
|
static Pathname |
getDirectoryPathname(java.io.File file)
|
static java.util.zip.ZipEntry |
getEntry(java.util.zip.ZipInputStream zipInputStream,
java.lang.String entryName)
|
static java.util.zip.ZipEntry |
getEntry(java.util.zip.ZipInputStream zipInputStream,
java.lang.String entryName,
boolean errorOnFailure)
|
static java.io.InputStream |
getEntryAsInputStream(java.util.zip.ZipInputStream zipInputStream,
java.lang.String entryName)
|
static java.io.File |
getFile(Pathname pathname)
|
static java.io.File |
getFile(Pathname pathname,
Pathname defaultPathname)
|
static java.util.zip.ZipInputStream |
getZipInputStream(java.util.zip.ZipFile zipfile,
java.lang.String entryName)
|
static java.util.zip.ZipInputStream |
getZipInputStream(java.util.zip.ZipFile zipfile,
java.lang.String entryName,
boolean errorOnFailure)
|
static boolean |
isFilenameAbsolute(java.lang.String filename)
|
static java.io.ByteArrayOutputStream |
readEntry(java.util.zip.ZipInputStream stream)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isPlatformUnix
public static final boolean isPlatformUnix
isPlatformWindows
public static final boolean isPlatformWindows
Utilities
public Utilities()
isFilenameAbsolute
public static boolean isFilenameAbsolute(java.lang.String filename)
getFile
public static java.io.File getFile(Pathname pathname)
getFile
public static java.io.File getFile(Pathname pathname,
Pathname defaultPathname)
getDirectoryPathname
public static Pathname getDirectoryPathname(java.io.File file)
getZipInputStream
public static java.util.zip.ZipInputStream getZipInputStream(java.util.zip.ZipFile zipfile,
java.lang.String entryName)
getZipInputStream
public static java.util.zip.ZipInputStream getZipInputStream(java.util.zip.ZipFile zipfile,
java.lang.String entryName,
boolean errorOnFailure)
getEntryAsInputStream
public static java.io.InputStream getEntryAsInputStream(java.util.zip.ZipInputStream zipInputStream,
java.lang.String entryName)
readEntry
public static java.io.ByteArrayOutputStream readEntry(java.util.zip.ZipInputStream stream)
getEntry
public static java.util.zip.ZipEntry getEntry(java.util.zip.ZipInputStream zipInputStream,
java.lang.String entryName)
getEntry
public static java.util.zip.ZipEntry getEntry(java.util.zip.ZipInputStream zipInputStream,
java.lang.String entryName,
boolean errorOnFailure)
checkZipFile
public static final boolean checkZipFile(Pathname name)