public class IO extends IndexedProcedure
Modifier and Type | Class and Description |
---|---|
static class |
IO.Index |
Modifier and Type | Field and Description |
---|---|
protected static int |
ABSPATHQ |
protected static int |
CHARREADY |
protected static int |
CLOSEINPUTPORT |
protected static int |
CLOSEOUTPUTPORT |
protected static int |
DISPLAY |
protected static int |
FILEEXISTSQ |
protected static int |
FINDRESOURCE |
protected static int |
FINDRESOURCES |
protected static int |
FLUSHOUTPUTPORT |
protected static int |
INPORTLOCATION |
protected static int |
INPORTQ |
static Symbol |
IOB |
protected static int |
LOAD |
protected static int |
LOADEXPANDED |
protected static int |
MAKEPATH |
protected static int |
NORMALIZEURL |
protected static int |
OPENAUTOFLUSHSTREAM |
protected static int |
OPENAUTOFLUSHWRITER |
protected static int |
OPENBUFFEREDCHARINPORT |
protected static int |
OPENBUFFEREDCHAROUTPORT |
protected static int |
OPENCHARINPUTPORT |
protected static int |
OPENCHAROUTPUTPORT |
protected static int |
OPENINPUTFILE |
protected static int |
OPENOUTPUTFILE |
protected static int |
OPENSOURCEINPUTFILE |
protected static int |
OUTPORTQ |
protected static int |
PEEKBYTE |
protected static int |
PEEKCHAR |
protected static int |
PORTQ |
protected static int |
READ |
protected static int |
READBYTE |
protected static int |
READCHAR |
protected static int |
READCODE |
protected static int |
READSTRING |
protected static int |
WRITE |
protected static int |
WRITEBYTE |
protected static int |
WRITECHAR |
protected static int |
WRITESTRING |
id
annotations, EMPTYSET
BACKQUOTE, BEGIN, bundles, caseSensitive, EMPTYLIST, EMPTYVEC, EOF, ERRORK, EVAL, EXPSC, EXPTOP, FALSE, FCONT, FIVE, JEXCEPTION, LAMBDA, LOCATION, maxFloatPrecision, MESSAGE, minFloatPrecision, NAME, OTHER, PARENT, permitInterrupts, QUOTE, QUOTESYM, REPORT, SETBANG, SISC, SISC_SPECIFIC, SISCB, SOURCE_COLUMN, SOURCE_FILE, SOURCE_LINE, SYMENV, THIS, TOPLEVEL, TRUE, UNQUOTE, UNQUOTE_SPLICING, VOID, ZV
Modifier and Type | Method and Description |
---|---|
Value |
displayOrWrite(Interpreter r,
SchemeCharacterOutputPort port,
Value v,
boolean display) |
Value |
doApply(Interpreter f)
A NativeProcedure instance must implement this method, which
performs the actual processing specific to that procedure, and
returns a Value.
|
static java.io.InputStream |
getURLInputStream(java.net.URL u) |
static java.io.OutputStream |
getURLOutputStream(java.net.URL u) |
static void |
load(Interpreter f,
java.net.URL u,
boolean expanded) |
static SchemeCharacterInputPort |
openCharInFile(Interpreter f,
java.net.URL u,
Charset encoding) |
static SchemeCharacterOutputPort |
openCharOutFile(Interpreter f,
java.net.URL url,
Charset encoding,
boolean aflush) |
static Value |
read(Interpreter r,
SchemeCharacterInputPort i) |
static Value |
readCode(Interpreter r,
SchemeCharacterInputPort i) |
static void |
throwIOException(Interpreter f,
java.lang.String message,
java.io.IOException e) |
static java.net.URL |
urlClean(java.net.URL u) |
deserialize, serialize
apply, display
error, throwArgSizeException, throwNestedPrimException, throwNestedPrimException, throwPrimException
displayNamedOpaque, equals, eqv, eval, express, getValue, synopsis, synopsis, toString, valueEqual, valueHashCode, write, writeReplace
deserializeAnnotations, getAnnotation, getAnnotation, getAnnotationKeys, getAnnotations, getName, readExternal, readResolve, serializeAnnotations, setAnnotation, setAnnotation, setName, visit, visitAnnotations, writeExternal
annotated, annotatedAppEval, append, argCheck, argsToSymbols, assq, bininport, bininstream, binoutport, binoutstream, box, character, charinport, charinreader, charoutport, charoutwriter, charsetFromString, chr, cont, currentClassLoader, env, error, error, error, error, error, error, error, expr, getDefaultCharacterSet, immutablePair, immutableVector, inport, javaExceptionToString, javaWrap, justify, length, liMessage, liMessage, liMessage, liMessage, liMessage, liMessage, liMessage, list, list, list, list, list, makeURL, mapcar, memq, nlib, num, outport, pair, pairToExpressions, pairToExpVect, pairToValues, proc, read, registerBundle, reverse, reverseInPlace, simpleErrorToString, sourceAnnotations, str, string, sym, symbol, symval, truePair, truth, truth, typeError, typeError, updateName, url, url, url, valArrayToList, valArrayToList, valArrayToVec, vec, warn, warn, warn
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, setName
public static Symbol IOB
protected static final int ABSPATHQ
protected static final int CHARREADY
protected static final int CLOSEINPUTPORT
protected static final int CLOSEOUTPUTPORT
protected static final int DISPLAY
protected static final int FILEEXISTSQ
protected static final int FINDRESOURCE
protected static final int FINDRESOURCES
protected static final int FLUSHOUTPUTPORT
protected static final int INPORTQ
protected static final int INPORTLOCATION
protected static final int LOAD
protected static final int LOADEXPANDED
protected static final int MAKEPATH
protected static final int NORMALIZEURL
protected static final int OPENAUTOFLUSHSTREAM
protected static final int OPENAUTOFLUSHWRITER
protected static final int OPENBUFFEREDCHARINPORT
protected static final int OPENBUFFEREDCHAROUTPORT
protected static final int OPENCHARINPUTPORT
protected static final int OPENCHAROUTPUTPORT
protected static final int OPENINPUTFILE
protected static final int OPENOUTPUTFILE
protected static final int OPENSOURCEINPUTFILE
protected static final int OUTPORTQ
protected static final int PEEKBYTE
protected static final int PEEKCHAR
protected static final int PORTQ
protected static final int READ
protected static final int READBYTE
protected static final int READCHAR
protected static final int READSTRING
protected static final int READCODE
protected static final int WRITE
protected static final int WRITEBYTE
protected static final int WRITECHAR
protected static final int WRITESTRING
public static void throwIOException(Interpreter f, java.lang.String message, java.io.IOException e) throws ContinuationException
ContinuationException
public static Value read(Interpreter r, SchemeCharacterInputPort i) throws ContinuationException
ContinuationException
public static Value readCode(Interpreter r, SchemeCharacterInputPort i) throws ContinuationException
ContinuationException
public Value displayOrWrite(Interpreter r, SchemeCharacterOutputPort port, Value v, boolean display) throws ContinuationException
ContinuationException
public static java.net.URL urlClean(java.net.URL u)
public static SchemeCharacterInputPort openCharInFile(Interpreter f, java.net.URL u, Charset encoding) throws ContinuationException
ContinuationException
public static SchemeCharacterOutputPort openCharOutFile(Interpreter f, java.net.URL url, Charset encoding, boolean aflush) throws ContinuationException
ContinuationException
public static java.io.InputStream getURLInputStream(java.net.URL u) throws java.io.IOException
java.io.IOException
public static java.io.OutputStream getURLOutputStream(java.net.URL u) throws java.io.IOException
java.io.IOException
public static void load(Interpreter f, java.net.URL u, boolean expanded) throws ContinuationException
ContinuationException
public Value doApply(Interpreter f) throws ContinuationException
NativeProcedure
doApply
in class NativeProcedure
ContinuationException