Class DocFileFactory
- java.lang.Object
-
- gw.gosudoc.com.sun.tools.doclets.internal.toolkit.util.DocFileFactory
-
- Direct Known Subclasses:
StandardDocFileFactory
@Deprecated abstract class DocFileFactory extends java.lang.ObjectDeprecated.Factory for DocFile objects.This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
- Since:
- 1.8
-
-
Field Summary
Fields Modifier and Type Field Description protected ConfigurationconfigurationDeprecated.private static java.util.Map<Configuration,DocFileFactory>factoriesDeprecated.
-
Constructor Summary
Constructors Modifier Constructor Description protectedDocFileFactory(Configuration configuration)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description (package private) abstract DocFilecreateFileForDirectory(java.lang.String file)Deprecated.Create a DocFile for a directory.(package private) abstract DocFilecreateFileForInput(java.lang.String file)Deprecated.Create a DocFile for a file that will be opened for reading.(package private) abstract DocFilecreateFileForOutput(DocPath path)Deprecated.Create a DocFile for a file that will be opened for writing.(package private) static DocFileFactorygetFactory(Configuration configuration)Deprecated.Get the appropriate factory, based on the file manager given in the configuration.(package private) abstract java.lang.Iterable<DocFile>list(javax.tools.JavaFileManager.Location location, DocPath path)Deprecated.List the directories and files found in subdirectories along the elements of the given location.
-
-
-
Field Detail
-
factories
private static final java.util.Map<Configuration,DocFileFactory> factories
Deprecated.
-
configuration
protected Configuration configuration
Deprecated.
-
-
Constructor Detail
-
DocFileFactory
protected DocFileFactory(Configuration configuration)
Deprecated.
-
-
Method Detail
-
getFactory
static DocFileFactory getFactory(Configuration configuration)
Deprecated.Get the appropriate factory, based on the file manager given in the configuration.
-
createFileForDirectory
abstract DocFile createFileForDirectory(java.lang.String file)
Deprecated.Create a DocFile for a directory.
-
createFileForInput
abstract DocFile createFileForInput(java.lang.String file)
Deprecated.Create a DocFile for a file that will be opened for reading.
-
createFileForOutput
abstract DocFile createFileForOutput(DocPath path)
Deprecated.Create a DocFile for a file that will be opened for writing.
-
list
abstract java.lang.Iterable<DocFile> list(javax.tools.JavaFileManager.Location location, DocPath path)
Deprecated.List the directories and files found in subdirectories along the elements of the given location.- Parameters:
location- currently, onlyStandardLocation.SOURCE_PATHis supported.path- the subdirectory of the directories of the location for which to list files
-
-