| Constructor and Description |
|---|
LogFile(String name,
List<String> lines,
int fileSize) |
LogFile(String name,
String content) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getContent() |
int |
getFileSize() |
List<String> |
getLines() |
List<String> |
getLines(int from,
int to) |
String |
getName() |
int |
getNumBytes() |
Position |
getPosition() |
Position |
getReadFrom() |
int |
getSkipped() |
int |
hashCode() |
boolean |
isFollow() |
boolean |
isHead() |
boolean |
isPaged() |
boolean |
isStale() |
boolean |
isTail() |
void |
setFileSize(int fileSize) |
void |
setLines(List<String> lines) |
void |
setStale(boolean stale) |
String |
toString() |
public static final LogFile NULL
public String getName()
public Position getPosition()
public boolean isHead()
public boolean isTail()
public Position getReadFrom()
public int getSkipped()
public boolean isPaged()
public String getContent()
public int getNumBytes()
public boolean isFollow()
public boolean isStale()
public void setStale(boolean stale)
public int getFileSize()
public void setFileSize(int fileSize)
Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.