com.borland.jbuilder.jot
Interface JotFile

All Known Subinterfaces:
JotSourceFile

public interface JotFile

This interface represents any file that can contain Java classes. Note that the file can be a source or class file.


Method Summary
 JotClass getClass(java.lang.String name)
          Returns a JotClass object for the class defined in this file that matches the specified name.
 JotClass[] getClasses()
          Returns an array of JotClass objects representing the top-level classes defined in this file.
 java.lang.String getName()
          Returns the complete path of this file.
 java.lang.String getPackage()
          Returns the package which contains this file.
 JotPackages getPackageManager()
          Returns the JotPackageManager for this project
 long getTimestamp()
          Returns the last modified date of this file as a long.
 Url getUrl()
          Returns JBuilder's internal Url for this file.
 

Method Detail

getName

public java.lang.String getName()
Returns the complete path of this file.

getUrl

public Url getUrl()
Returns JBuilder's internal Url for this file.

getPackage

public java.lang.String getPackage()
Returns the package which contains this file.

getTimestamp

public long getTimestamp()
Returns the last modified date of this file as a long.

getClasses

public JotClass[] getClasses()
Returns an array of JotClass objects representing the top-level classes defined in this file. If no classes are defined in this file, then returns a zero-length array.

getClass

public JotClass getClass(java.lang.String name)
Returns a JotClass object for the class defined in this file that matches the specified name. If no such class exists, then returns null.

getPackageManager

public JotPackages getPackageManager()
Returns the JotPackageManager for this project