| java.lang.Object org.netbeans.modules.openfile.OpenFile
OpenFile | final public class OpenFile (Code) | | Opens files when requested. Main functionality.
author: Jaroslav Tulach, Jesse Glick author: Marian Petras |
Method Summary | |
static boolean | isSpecifiedByUNCPath(File file) Checks whether a given file is specified by an UNC path. | public static String | open(FileObject fileObject, int line) Open a file (object) at the beginning. | static String | openFile(File file, int line) Opens a file. |
isSpecifiedByUNCPath | static boolean isSpecifiedByUNCPath(File file)(Code) | | Checks whether a given file is specified by an UNC path.
Parameters: file - existing file to check true if the file is specified by UNC path;false otherwise |
open | public static String open(FileObject fileObject, int line)(Code) | | Open a file (object) at the beginning.
Parameters: fileObject - the file to open Parameters: line - error message or null on success |
openFile | static String openFile(File file, int line)(Code) | | Opens a file.
Parameters: file - file to open (must exist) Parameters: line - line number to try to open to (starting at zero),or -1 to ignore null on success, otherwise the error message |
|
|