IBM InfoSphere Streams Version 4.1.0
Namespace spl.file
SPL standard and specialized toolkits > spl 1.2.1 > spl.file
This namespace contains components for handling files.
To use these components in an SPL program, an explicit use statement is required. For example, "use spl.file::*;".
Functions
- clearerr(uint64): Clear end of file indicator.
- fclose(uint64, int32): Close a file.
- feof(uint64): Test if the stream is at end of file.
- fflush(uint64, int32): Flush a file to disk.
- fopen(rstring, rstring, int32): Open a file.
- fopen(ustring, ustring, int32): Open a file.
- fread(list<uint8>, uint64, uint64, int32): Read a list of bytes from a file as binary.
- freadBin(T, uint64, int32): Read an SPL Value from a file as a binary value.
- freadLine(uint64, int32): Read a line from a file.
- freadToken(uint64, int32): Read a 'token' from a file.
- freadTxt(T, uint64, int32): Read an SPL Value from a file as a text string.
- freadfile(blob, uint64, int32): Read a whole file into a blob as binary.
- fseek(uint64, int64, int32, int32): Set the current file position.
- fstat(rstring, rstring, timestamp, int32): Return timestamp information about a file.
- fstat(rstring, rstring, uint64, int32): Return information about a file.
- fstat(uint64, rstring, timestamp, int32): Return timestamp information about a file.
- fstat(uint64, rstring, uint64, int32): Return information about a file.
- fstat(uint64, ustring, timestamp, int32): Return timestamp information about a file.
- fstat(uint64, ustring, uint64, int32): Return information about a file.
- fstat(ustring, ustring, timestamp, int32): Return timestamp information about a file.
- fstat(ustring, ustring, uint64, int32): Return information about a file.
- ftell(uint64, int32): Return the current file position.
- fwrite(list<uint8>, uint64, uint64, uint64, int32): Write a list of bytes to a file as binary.
- fwriteBin(T, uint64, int32): Write an SPL Value to a file as a binary value.
- fwriteString(T, uint64, int32): Write a string to a file.
- fwriteTxt(T, uint64, int32): Write an SPL Value to a file as a text string.
- fwriteblob(blob, uint64, int32): Write a blob into a file as binary.
- isEACCES(int32): Return whether the value is EACCES.
- isEAGAIN(int32): Return whether the value is EAGAIN.
- isEBADF(int32): Return whether the value is EBADF.
- isEFAULT(int32): Return whether the value is EFAULT.
- isEFBIG(int32): Return whether the value is EFBIG.
- isEINTR(int32): Return whether the value is EINTR.
- isEINVAL(int32): Return whether the value is EINVAL.
- isEIO(int32): Return whether the value is EIO.
- isEISDIR(int32): Return whether the value is EISDIR.
- isELOOP(int32): Return whether the value is ELOOP.
- isEMFILE(int32): Return whether the value is EMFILE.
- isENAMETOOLONG(int32): Return whether the value is ENAMETOOLONG.
- isENFILE(int32): Return whether the value is ENFILE.
- isENODEV(int32): Return whether the value is ENODEV.
- isENOENT(int32): Return whether the value is ENOENT.
- isENOMEM(int32): Return whether the value is ENOMEM.
- isENOSPC(int32): Return whether the value is ENOSPC.
- isENOTDIR(int32): Return whether the value is ENOTDIR.
- isENXIO(int32): Return whether the value is ENXIO.
- isEOF(int32): Return whether the value is EOF.
- isEOVERFLOW(int32): Return whether the value is EOVERFLOW.
- isEPERM(int32): Return whether the value is EPERM.
- isEPIPE(int32): Return whether the value is EPIPE.
- isEROFS(int32): Return whether the value is EROFS.
- isESPIPE(int32): Return whether the value is ESPIPE.
- isETXTBSY(int32): Return whether the value is ETXTBSY.
- isEWOULDBLOCK(int32): Return whether the value is EWOULDBLOCK.
- mkdir(rstring, uint32, int32): Create a directory
- optSEEK_CUR(): Indicator to seek relative to current file position.
- optSEEK_END(): Indicator to seek relative to end of file.
- optSEEK_SET(): Indicator to seek relative to start of file.
- remove(rstring, int32): Remove a file or directory.
- remove(ustring, int32): Remove a file or directory.
- rewind(uint64): Set the current file position to file start.