Package org.armedbear.lisp
Class LogicalPathname
- java.lang.Object
-
- org.armedbear.lisp.LispObject
-
- org.armedbear.lisp.Pathname
-
- org.armedbear.lisp.LogicalPathname
-
- All Implemented Interfaces:
java.io.Serializable
public final class LogicalPathname extends Pathname
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
LOGICAL_PATHNAME_CHARS
static HashTable
TRANSLATIONS
-
Fields inherited from class org.armedbear.lisp.Pathname
device, directory, directoryDelimiter, GET_INPUT_STREAM, host, name, type, version
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
LogicalPathname()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SimpleString
canonicalizeStringComponent(AbstractString s)
LispObject
classOf()
static LogicalPathname
create()
static LogicalPathname
create(java.lang.String namestring)
static LogicalPathname
create(java.lang.String host, java.lang.String rest)
static LogicalPathname
create(LogicalPathname p)
protected java.lang.String
getDirectoryNamestring()
protected static java.lang.String
getHostString(java.lang.String s)
long
getLastModified()
static boolean
isValidLogicalPathname(java.lang.String namestring)
java.lang.String
printObject()
static Pathname
translateLogicalPathname(LogicalPathname pathname)
LispObject
typeOf()
LispObject
typep(LispObject type)
-
Methods inherited from class org.armedbear.lisp.Pathname
create, equal, equalp, equals, getDevice, getDirectory, getDirectoryPathname, getHost, getInputStream, getName, getNamestring, getParts, getType, getVersion, hashCode, isAbsolute, isJar, isLocalFile, isSupportedProtocol, isURL, isValidURL, isWild, makePathname, makePathname, mergePathnames, mergePathnames, ncoerce, parseNamestring, parseNamestring, parseNamestring, setDevice, setDirectory, setHost, setName, setType, setVersion, sxhash, truename, truename, truename, truename
-
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 Detail
-
LOGICAL_PATHNAME_CHARS
public static final java.lang.String LOGICAL_PATHNAME_CHARS
- See Also:
- Constant Field Values
-
TRANSLATIONS
public static HashTable TRANSLATIONS
-
-
Method Detail
-
isValidLogicalPathname
public static boolean isValidLogicalPathname(java.lang.String namestring)
-
create
public static LogicalPathname create()
-
create
public static LogicalPathname create(LogicalPathname p)
-
create
public static LogicalPathname create(java.lang.String namestring)
-
create
public static LogicalPathname create(java.lang.String host, java.lang.String rest)
-
canonicalizeStringComponent
public static final SimpleString canonicalizeStringComponent(AbstractString s)
-
translateLogicalPathname
public static Pathname translateLogicalPathname(LogicalPathname pathname)
-
typeOf
public LispObject typeOf()
-
classOf
public LispObject classOf()
-
typep
public LispObject typep(LispObject type)
-
getDirectoryNamestring
protected java.lang.String getDirectoryNamestring()
- Overrides:
getDirectoryNamestring
in classPathname
-
printObject
public java.lang.String printObject()
- Overrides:
printObject
in classPathname
-
getHostString
protected static java.lang.String getHostString(java.lang.String s)
-
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.
-
-