Class StandardDocFileFactory


  • @Deprecated
    class StandardDocFileFactory
    extends DocFileFactory
    Deprecated.
    Implementation of DocFileFactory using a StandardJavaFileManager.

    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
      private java.nio.file.Path destDir
      Deprecated.
       
      private javax.tools.StandardJavaFileManager fileManager
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      DocFile createFileForDirectory​(java.lang.String file)
      Deprecated.
      Create a DocFile for a directory.
      DocFile createFileForInput​(java.lang.String file)
      Deprecated.
      Create a DocFile for a file that will be opened for reading.
      DocFile createFileForOutput​(DocPath path)
      Deprecated.
      Create a DocFile for a file that will be opened for writing.
      private java.nio.file.Path getDestDir()
      Deprecated.
       
      (package private) 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.
      private static java.nio.file.Path newFile​(java.nio.file.Path dir, java.lang.String path)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • fileManager

        private final javax.tools.StandardJavaFileManager fileManager
        Deprecated.
      • destDir

        private java.nio.file.Path destDir
        Deprecated.
    • Constructor Detail

      • StandardDocFileFactory

        public StandardDocFileFactory​(Configuration configuration)
        Deprecated.
    • Method Detail

      • getDestDir

        private java.nio.file.Path getDestDir()
        Deprecated.
      • list

        java.lang.Iterable<DocFile> list​(javax.tools.JavaFileManager.Location location,
                                         DocPath path)
        Deprecated.
        Description copied from class: DocFileFactory
        List the directories and files found in subdirectories along the elements of the given location.
        Specified by:
        list in class DocFileFactory
        Parameters:
        location - currently, only StandardLocation.SOURCE_PATH is supported.
        path - the subdirectory of the directories of the location for which to list files
      • newFile

        private static java.nio.file.Path newFile​(java.nio.file.Path dir,
                                                  java.lang.String path)
        Deprecated.