|
S-PLUS Connect/Java v1.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.insightful.splus.util.FileUtilities
public class FileUtilities
Class providing useful file query static methods. If not in client/server mode, standard java.io.File methods are used. If in client/server mode, operations are wil respect to the server files system and S-PLUS engine queries are used.
Method Summary | |
---|---|
static boolean |
confirmSaveAs(Component parentComponent,
String fileName)
Static method used by Save As dialogs to test whether to proceed with a file save. |
static void |
transferBytes(FileInputStream sourceStream,
FileOutputStream targetStream)
Transfer a file from a FileInputStream to a FileOutputStream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean confirmSaveAs(Component parentComponent, String fileName)
public static void transferBytes(FileInputStream sourceStream, FileOutputStream targetStream) throws IOException
IOException
|
S-PLUS Connect/Java v1.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |