-
Notifications
You must be signed in to change notification settings - Fork 967
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support parsing of logs without timestamp information present (but wi…
…th datestamp information)
- Loading branch information
Showing
12 changed files
with
241 additions
and
146 deletions.
There are no files selected for viewing
162 changes: 95 additions & 67 deletions
162
src/main/java/com/tagtraum/perf/gcviewer/imp/AbstractDataReaderSun.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
src/main/java/com/tagtraum/perf/gcviewer/util/ParseInformation.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package com.tagtraum.perf.gcviewer.util; | ||
|
||
import java.text.ParsePosition; | ||
import java.util.Date; | ||
|
||
/** | ||
* This class holds information about the current parsing process. | ||
* | ||
* @author <a href="mailto:hs@tagtraum.com">Hendrik Schreiber</a> | ||
* @author <a href="mailto:gcviewer@gmx.ch">Joerg Wuethrich</a> | ||
*/ | ||
public class ParseInformation extends ParsePosition { | ||
|
||
private Date firstDateStamp; | ||
private int lineNumber; | ||
|
||
public ParseInformation(int index) { | ||
super(index); | ||
} | ||
|
||
public Date getFirstDateStamp() { | ||
return firstDateStamp; | ||
} | ||
|
||
public int getLineNumber() { | ||
return lineNumber; | ||
} | ||
|
||
public void setFirstDateStamp(Date firstDateStamp) { | ||
this.firstDateStamp = firstDateStamp; | ||
} | ||
|
||
public void setLineNumber(int lineNumber) { | ||
this.lineNumber = lineNumber; | ||
} | ||
|
||
} |
19 changes: 0 additions & 19 deletions
19
src/main/java/com/tagtraum/perf/gcviewer/util/ParsePosition.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.