Class JarPathname
java.lang.Object
org.armedbear.lisp.LispObject
org.armedbear.lisp.Pathname
org.armedbear.lisp.URLPathname
org.armedbear.lisp.JarPathname
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsFields inherited from class Pathname
device, directory, directoryDelimiter, GET_INPUT_STREAM, host, name, type, version -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JarPathnameTransform a reference to a nested Jar to an entryclassOf()static JarPathnamecreate()static JarPathnamestatic JarPathnamestatic JarPathnamecreateEntryFromFile(String jar, String entry) static JarPathnamecreateEntryFromJar(JarPathname jar, String entry) static JarPathnameTransform an entry in a jar to a reference as a jarstatic JarPathnamestatic JarPathnamegetFile()longbooleanbooleanstatic LispObjectlistDirectory(JarPathname pathname) List the contents of a directory within a JAR archivestatic LispObjecttypeOf()Methods inherited from class URLPathname
create, create, create, createFromFile, getNamestring, getNamestringAsURL, hasExplicitFile, isFile, toURI, toURL, truenameMethods inherited from class Pathname
create, equal, equalp, equals, getDevice, getDirectory, getDirectoryNamestring, getDirectoryPathname, getHost, getName, getParts, getType, getVersion, hashCode, isAbsolute, isJar, isSupportedProtocol, isURL, isValidURL, isWild, makePathname, makePathname, mergePathnames, mergePathnames, ncoerce, parseNamestring, parseNamestring, parseNamestring, printObject, setDevice, setDirectory, setHost, setName, setType, setVersion, sxhash, truename, truename, truename, typepMethods inherited from class LispObject
ABS, add, add, aref, AREF, AREF, aref_long, aset, aset, aset, ash, ash, atom, ATOM, caddr, cadr, car, cddr, cdr, CHAR, characterp, CHARACTERP, chars, COMPLEXP, constantp, CONSTANTP, copyToArray, decr, DENOMINATOR, dispatch, divideBy, doubleValue, elt, endp, ENDP, EQ, eql, eql, eql, EQL, equal, EQUAL, equalp, evenp, EVENP, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, floatp, FLOATP, floatValue, getBooleanValue, getCallCount, getDescription, getDocumentation, getFixnumSlotValue, getHotCount, getInstance, getPropertyList, getSlotValue, getSlotValue_0, getSlotValue_1, getSlotValue_2, getSlotValue_3, getSlotValueAsBoolean, getStringChars, getStringValue, getSymbolFunction, getSymbolFunctionOrDie, getSymbolSetfFunction, getSymbolSetfFunctionOrDie, getSymbolValue, incr, incrementCallCount, incrementHotCount, integerp, INTEGERP, intValue, IS_E, IS_GE, IS_GT, IS_LE, IS_LT, IS_NE, isEqualTo, isEqualTo, isGreaterThan, isGreaterThan, isGreaterThanOrEqualTo, isGreaterThanOrEqualTo, isLessThan, isLessThan, isLessThanOrEqualTo, isLessThanOrEqualTo, isNotEqualTo, isNotEqualTo, isSpecialOperator, isSpecialVariable, javaInstance, javaInstance, LDB, length, LENGTH, listp, LISTP, lockableInstance, LOGAND, LOGAND, LOGIOR, LOGIOR, LOGNOT, LOGXOR, LOGXOR, longValue, minusp, MINUSP, MOD, MOD, multiplyBy, multiplyBy, negate, noFillPointer, NOT, nreverse, NTH, NTH, nthcdr, numberp, NUMBERP, NUMERATOR, oddp, ODDP, plusp, PLUSP, princToString, psxhash, psxhash, push, rationalp, RATIONALP, realp, REALP, resolve, reverse, RPLACA, RPLACD, SCHAR, setCallCount, setCar, setCdr, setDocumentation, setHotCount, setPropertyList, setSlotValue, setSlotValue, setSlotValue_0, setSlotValue_1, setSlotValue_2, setSlotValue_3, SIMPLE_STRING_P, SLOT_VALUE, STRING, stringp, STRINGP, subtract, subtract, SVREF, svset, SYMBOLP, truncate, unreadableString, unreadableString, VECTOR_PUSH_EXTEND, VECTOR_PUSH_EXTEND, vectorp, VECTORP, vectorPushExtend, zerop, ZEROP
-
Field Details
-
JAR_URI_SUFFIX
- See Also:
-
JAR_URI_PREFIX
- See Also:
-
-
Constructor Details
-
JarPathname
protected JarPathname()
-
-
Method Details
-
create
-
create
-
createFromPathname
-
archiveAsEntry
Transform a reference to a nested Jar to an entry -
createFromEntry
Transform an entry in a jar to a reference as a jar -
createFromFile
-
createEntryFromFile
-
createEntryFromJar
-
create
-
validateComponents
-
getNamestring
- Overrides:
getNamestringin classURLPathname
-
truename
-
isLocalFile
public boolean isLocalFile()- Overrides:
isLocalFilein classPathname
-
isArchiveEntry
public boolean isArchiveEntry() -
getArchive
-
classOf
- Overrides:
classOfin classURLPathname
-
typeOf
- Overrides:
typeOfin classURLPathname
-
getInputStream
- Overrides:
getInputStreamin classURLPathname
-
listDirectory
List the contents of a directory within a JAR archive -
getLastModified
public long getLastModified()- Overrides:
getLastModifiedin classURLPathname- Returns:
- Time in milliseconds since the UNIX epoch at which the resource was last modified, or 0 if the time is unknown.
-
getFile
- Overrides:
getFilein classURLPathname
-