Class DocFileFactory

  • Direct Known Subclasses:
    StandardDocFileFactory

    @Deprecated
    abstract class DocFileFactory
    extends java.lang.Object
    Deprecated.
    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
    • 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, only StandardLocation.SOURCE_PATH is supported.
        path - the subdirectory of the directories of the location for which to list files