home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgLangD.iso
/
VCAFE.3.0A
/
Main.bin
/
DirectoriesOptions.java
< prev
next >
Wrap
Text File
|
1998-10-25
|
7KB
|
147 lines
/*
* Copyright 1998 Symantec Corporation, All Rights Reserved.
*/
package com.symantec.itools.vcafe.openapi.options;
/**
* The API used to represent and access the options that appear in the "Directories" tab
* in the Options dialog of a Visual Cafe project.
* <p>Use <code>ProjectOptionSet.getDirectoriesOptions()</code> to get an instance of this object.
*
* @see com.symantec.itools.vcafe.openapi.VisualProject#getOptionSet
* @see ProjectOptionSet#getDirectoriesOptions
*
* @author Symantec Internet Tools Division
* @version 1.0
* @since VCafe 3.0
*/
public abstract class DirectoriesOptions
{
/**
* Gets the complete class path specified for the project merged into a single <code>String</code>.
* <p>This method returns a merged class path (like "path1;path2;path3"), while the <code>getFullClassPaths</code>
* method returns the same path, but in an array (like [0]="path1",[1]="path2",[2]="path3").
* <p>Unlike <code>getClassPath</code> and <code>getClassPaths</code>, this method returns system class
* path values in addition to the user-defined ones.
* <p>To determine the class path, Visual Cafe:
* a) Uses current classpath option (<code>getClassPath</code>).
* b) Appends the system classpath if "Append class path" (<code>isAppendClassPath</code>) is set
* or the current classPath option is empty
* c) If no output directory is specified (<code>getOutputPath</code>) and "Auto-generate class path"
* (<code>isAutoGenerateClassPath</code>) is set, appends appropriate directories based on file
* names and packages added to project, otherwise it appends the output directory.
* @return the complete class path for the project as a single <code>String</code>.
* @see #getFullClassPaths
* @see #getClassPath
* @see #getClassPaths
*/
public abstract String getFullClassPath();
/**
* Gets the complete class path specified for the project as an array of <code>Strings</code>.
* <p>This method returns a class path array (like [0]="path1",[1]="path2",[2]="path3"), while the
* <code>getFullClassPath</code> method returns the same path, but in a merged <code>String</code>
* (like "path1;path2;path3").
* <p>Unlike <code>getClassPath</code> and <code>getClassPaths</code>, this method returns system class
* path values in addition to the user-defined ones.
* <p>To determine the class path, Visual Cafe:
* a) Uses current classpath option (<code>getClassPaths</code>).
* b) Appends the system classpath if "Append class path" (<code>isAppendClassPath</code>) is set
* or the current classPath option is empty
* c) If no output directory is specified (<code>getOutputPath</code>) and "Auto-generate class path"
* (<code>isAutoGenerateClassPath</code>) is set, appends appropriate directories based on file
* names and packages added to project, otherwise it appends the output directory.
* @return the complete class path for the project as an array of <code>Strings</code>.
* @see #getFullClassPath
* @see #getClassPath
* @see #getClassPaths
*/
public abstract String[] getFullClassPaths();
/**
* Gets all of the user-entered class paths for this project, merged into a single <code>String</code>.
* <p>This method returns a merged class path (like "path1;path2;path3"), while the <code>getClassPaths</code>
* method returns the same path, but in an array (like [0]="path1",[1]="path2",[2]="path3").
* <p>Unlike <code>getFullClassPath</code> and <code>getFullClassPaths</code>, this method doesn't return
* system class path values.
* @return the user-entered class paths as a single <code>String</code>.
* @see #getClassPaths
* @see #getFullClassPath
* @see #getFullClassPaths
*/
public abstract String getClassPath();
/**
* Gets all of the user-entered class paths for this project, as an array of <code>Strings</code>.
* <p>This method returns a class path array (like [0]="path1",[1]="path2",[2]="path3"), while the
* <code>getClassPath</code> method returns the same path, but in a merged <code>String</code>
* (like "path1;path2;path3").
* <p>Unlike <code>getFullClassPath</code> and <code>getFullClassPaths</code>, this method doesn't return
* system class path values.
* @return the user-entered class paths as an array of <code>Strings</code>.
* @see #getClassPath
* @see #getFullClassPath
* @see #getFullClassPaths
*/
public abstract String[] getClassPaths();
/**
* Gets the user-entered output destination directory.
* @return the user-entered value, or an empty <code>String</code> if no value specified.
*/
public abstract String getOutputPath();
/**
* Gets the user-entered Javadoc destination directory.
* @return the user-entered value, or an empty <code>String</code> if no value specified.
*/
public abstract String getJavadocDocumentationDirectory();
/**
* Gets the user-entered Javadoc system documentation source directory.
* @return the user-entered value, or an empty <code>String</code> if no value specified.
*/
public abstract String getJavadocSystemDocumentationDirectory();
/**
* Gets all of the user-entered source search paths for this project, merged into a single <code>String</code>.
* <p>This method returns a merged search path (like "path1;path2;path3"), while the <code>getSourceFilesDirectories</code>
* method returns the same path, but in an array (like [0]="path1",[1]="path2",[2]="path3").
* <p>The source search path applies to Java source files and any text file that can be opened in
* the Source window.
* @return the user-entered source paths as a single <code>String</code>.
* @see #getSourceFilesDirectories
*/
public abstract String getSourceFilesDirectory();
/**
* Gets all of the user-entered source search paths for this project, as an array of <code>Strings</code>.
* <p>This method returns a search path array (like [0]="path1",[1]="path2",[2]="path3"), while the
* <code>getSourceFilesDirectory</code> method returns the same path, but in a merged <code>String</code>
* (like "path1;path2;path3").
* <p>The source search path applies to Java source files and any text file that can be opened in
* the Source window.
* @return the user-entered source paths as an array of <code>Strings</code>.
* @see #getSourceFilesDirectory
*/
public abstract String[] getSourceFilesDirectories();
/**
* Determines whether the final (full) classpath will have the system classpath appended to it.
* @see #getFullClassPath
* @see #getFullClassPaths
*/
public abstract boolean isAppendClassPath();
/**
* Determines whether the final (full) classpath will include classpaths for the project files that have
* been automatically determined.
* <p>For this to happen, an output directory must not be specified (<code>getOutputPath</code>).
* @see #getFullClassPath
* @see #getFullClassPaths
* @see #getOutputPath
*/
public abstract boolean isAutoGenerateClassPath();
}