Class AbstractDataSource
- java.lang.Object
-
- net.sourceforge.pmd.util.datasource.internal.AbstractDataSource
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,DataSource
- Direct Known Subclasses:
FileDataSource
,ReaderDataSource
,ZipDataSource
public abstract class AbstractDataSource extends Object implements DataSource
-
-
Constructor Summary
Constructors Constructor Description AbstractDataSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.pmd.util.datasource.DataSource
getInputStream, getNiceFileName
-
-
-
-
Method Detail
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-