Class FileDataSource

  • All Implemented Interfaces:
    Closeable, AutoCloseable, DataSource

    @Deprecated
    public class FileDataSource
    extends net.sourceforge.pmd.util.datasource.internal.PathDataSource
    Deprecated.
    DataSource implementation to read data from a file.
    • Constructor Summary

      Constructors 
      Constructor Description
      FileDataSource​(File file)
      Deprecated.
       
    • Method Summary

      • Methods inherited from class net.sourceforge.pmd.util.datasource.internal.PathDataSource

        equals, getInputStream, getNiceFileName, hashCode, toString
      • Methods inherited from class net.sourceforge.pmd.util.datasource.internal.AbstractDataSource

        close
    • Constructor Detail

      • FileDataSource

        public FileDataSource​(File file)
        Deprecated.
        Parameters:
        file - the file to read