Package org.armedbear.lisp
Class URLPathname
java.lang.Object
org.armedbear.lisp.LispObject
org.armedbear.lisp.Pathname
org.armedbear.lisp.URLPathname
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JarPathname
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Symbol
static final LispObject
static final Symbol
static final Symbol
static final Symbol
Fields inherited from class org.armedbear.lisp.Pathname
device, directory, directoryDelimiter, GET_INPUT_STREAM, host, name, type, version
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclassOf()
static URLPathname
create()
static URLPathname
static URLPathname
static URLPathname
static URLPathname
static URLPathname
getFile()
long
static boolean
static boolean
toURI()
toURL()
static LispObject
static LispObject
truename
(URLPathname p, boolean errorIfDoesNotExist) typeOf()
Methods inherited from class org.armedbear.lisp.Pathname
create, equal, equalp, equals, getDevice, getDirectory, getDirectoryNamestring, getDirectoryPathname, getHost, getName, getParts, getType, getVersion, hashCode, isAbsolute, isJar, isLocalFile, isSupportedProtocol, isURL, isValidURL, isWild, makePathname, makePathname, mergePathnames, mergePathnames, ncoerce, parseNamestring, parseNamestring, parseNamestring, printObject, setDevice, setDirectory, setHost, setName, setType, setVersion, sxhash, truename, truename, truename, typep
Methods inherited from class org.armedbear.lisp.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
-
SCHEME
-
AUTHORITY
-
QUERY
-
FRAGMENT
-
FILE
-
-
Constructor Details
-
URLPathname
protected URLPathname()
-
-
Method Details
-
create
-
create
-
create
-
create
-
createFromFile
-
create
-
toURI
-
toURL
-
getFile
-
isFile
-
hasExplicitFile
-
getNamestring
- Overrides:
getNamestring
in classPathname
-
getNamestring
-
getNamestringAsURL
-
typeOf
-
classOf
-
truename
-
truename
-
getInputStream
- Overrides:
getInputStream
in classPathname
-
getLastModified
public long getLastModified()- Overrides:
getLastModified
in classPathname
- Returns:
- Time in milliseconds since the UNIX epoch at which the resource was last modified, or 0 if the time is unknown.
-