Class FileDataSource
- java.lang.Object
-
- net.sourceforge.pmd.util.datasource.internal.AbstractDataSource
-
- net.sourceforge.pmd.util.datasource.internal.PathDataSource
-
- net.sourceforge.pmd.util.datasource.FileDataSource
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,DataSource
public class FileDataSource extends net.sourceforge.pmd.util.datasource.internal.PathDataSource
DataSource implementation to read data from a file.
-
-
Constructor Summary
Constructors Constructor Description FileDataSource(File file)
-
-
-
Constructor Detail
-
FileDataSource
public FileDataSource(File file)
- Parameters:
file
- the file to read
-
-