public class LinkReader extends java.lang.Object implements NutchReader
conf, LOG| Constructor and Description |
|---|
LinkReader() |
| Modifier and Type | Method and Description |
|---|---|
int |
count(java.lang.String path) |
java.util.List |
head(java.lang.String path,
int nrows) |
java.util.List |
read(java.lang.String path) |
java.util.List |
slice(java.lang.String path,
int start,
int end) |
public java.util.List read(java.lang.String path)
throws java.io.FileNotFoundException
read in interface NutchReaderjava.io.FileNotFoundExceptionpublic java.util.List head(java.lang.String path,
int nrows)
throws java.io.FileNotFoundException
head in interface NutchReaderjava.io.FileNotFoundExceptionpublic java.util.List slice(java.lang.String path,
int start,
int end)
throws java.io.FileNotFoundException
slice in interface NutchReaderjava.io.FileNotFoundExceptionpublic int count(java.lang.String path)
throws java.io.FileNotFoundException
count in interface NutchReaderjava.io.FileNotFoundExceptionCopyright © 2019 The Apache Software Foundation