org.nlogo.api
Class RemoteFile
java.lang.Object
org.nlogo.api.File
org.nlogo.api.RemoteFile
public class RemoteFile
- extends File
| Nested classes/interfaces inherited from class org.nlogo.api.File |
File.Mode |
RemoteFile
public RemoteFile(String filepath)
RemoteFile
public RemoteFile(String filepath,
String suffix)
getMode
public File.Mode getMode()
- Overrides:
getMode in class File
getPrintWriter
public PrintWriter getPrintWriter()
- Specified by:
getPrintWriter in class File
getBufferedReader
public BufferedReader getBufferedReader()
- Overrides:
getBufferedReader in class File
getInputStream
public InputStream getInputStream()
throws IOException
- Specified by:
getInputStream in class File
- Throws:
IOException
exists
public static boolean exists(String path)
open
public void open(File.Mode mode)
throws IOException
- Specified by:
open in class File
- Throws:
IOException
print
public void print(String str)
throws IOException
- Specified by:
print in class File
- Throws:
IOException
println
public void println(String line)
throws IOException
- Specified by:
println in class File
- Throws:
IOException
println
public void println()
throws IOException
- Specified by:
println in class File
- Throws:
IOException
flush
public void flush()
- Specified by:
flush in class File
close
public void close(boolean ok)
throws IOException
- Specified by:
close in class File
- Throws:
IOException
getAbsolutePath
public String getAbsolutePath()
- Specified by:
getAbsolutePath in class File
getPath
public String getPath()
- Specified by:
getPath in class File