Package org.aksw.commons.util.apache
Class ApacheLogDirectory
- java.lang.Object
-
- org.aksw.commons.util.apache.ApacheLogDirectory
-
public class ApacheLogDirectory extends Object
-
-
Constructor Summary
Constructors Constructor Description ApacheLogDirectory(File dir, Pattern pattern)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ApacheLogRangeEntryIteratorgetIterator(Date low, Date high, boolean lowInclusive, boolean highInclusive)lowInclusive and highInclusive are ignored if the respective bound in null (unbounded).voidmain(String[] args)static InputStreamopen(File file)
-
-
-
Constructor Detail
-
ApacheLogDirectory
public ApacheLogDirectory(File dir, Pattern pattern) throws IOException
- Throws:
IOException
-
-
Method Detail
-
open
public static InputStream open(File file) throws IOException
- Throws:
IOException
-
getIterator
public ApacheLogRangeEntryIterator getIterator(Date low, Date high, boolean lowInclusive, boolean highInclusive)
lowInclusive and highInclusive are ignored if the respective bound in null (unbounded).- Parameters:
low-lowInclusive-high-highInclusive-- Returns:
-
main
public void main(String[] args)
-
-