sleep.bridges.io

Class FileObject

public class FileObject extends IOObject

Field Summary
protected Filefile
Method Summary
ObjectgetSource()
returns the file referenced by this IOObject
voidopen(String descriptor, ScriptEnvironment env)
opens a file and references it to this file object. the descriptor parameter is a filename

Field Detail

file

protected File file

Method Detail

getSource

public Object getSource()
returns the file referenced by this IOObject

open

public void open(String descriptor, ScriptEnvironment env)
opens a file and references it to this file object. the descriptor parameter is a filename