I am trying to write a little java script and i want to see if i can test if a folder exists or not. I looked it up (yea google!) and found this reference
public static boolean exists(Folder folder)
Tests to see if a folder exists in system with simple test that folderID > 0. Use only on folder objects created using FolderController.get() methods. If you manually set the folderID, this test will not be accurate return true if successful
Does that mean that all i have to do to call it is something like this? exists(foldervariable) ?
So if you're doing coursework at Stanford, then maybe that's what you want. Otherwise, you might have better luck with something from the standard Java 1.5.0 API. In particular, java.io.File. Note that the File class has methods exists() and isDirectory().
Originally posted by Steve Van: ...I am trying to write a little java script...
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer sscce.org