A D G H L M N O P R S U V 

A

addIgnorePattern(String) - Method in class org.wickedsource.diffparser.unified.ResizingParseWindow
 
addLine(int, String) - Method in interface org.wickedsource.diffparser.unified.ParseWindow
 
addLine(int, String) - Method in class org.wickedsource.diffparser.unified.ResizingParseWindow
 

D

Diff - Class in org.wickedsource.diffparser.api.model
Represents a Diff between two files.
Diff() - Constructor for class org.wickedsource.diffparser.api.model.Diff
 
DiffParser - Interface in org.wickedsource.diffparser.api
Interface to a parser that parses a textual diff between two text files.

G

getContent() - Method in class org.wickedsource.diffparser.api.model.Line
The actual content of the line as String.
getFocusLine() - Method in interface org.wickedsource.diffparser.unified.ParseWindow
Returns the line currently focused by this window.
getFocusLine() - Method in class org.wickedsource.diffparser.unified.ResizingParseWindow
 
getFocusLineNumber() - Method in interface org.wickedsource.diffparser.unified.ParseWindow
Returns the number of the current line within the whole document.
getFocusLineNumber() - Method in class org.wickedsource.diffparser.unified.ResizingParseWindow
 
getFromFileName() - Method in class org.wickedsource.diffparser.api.model.Diff
Gets the name of the first file that was compared with this Diff (the file "from" which the changes were made, i.e. the "left" file of the diff).
getFromFileRange() - Method in class org.wickedsource.diffparser.api.model.Hunk
The range of line numbers that this Hunk spans in the first file of the Diff.
getFutureLine(int) - Method in interface org.wickedsource.diffparser.unified.ParseWindow
Looks ahead from the current line and retrieves a line that will be the focus line after the window has slided forward.
getFutureLine(int) - Method in class org.wickedsource.diffparser.unified.ResizingParseWindow
 
getHeaderLines() - Method in class org.wickedsource.diffparser.api.model.Diff
The header lines of the diff.
getHunks() - Method in class org.wickedsource.diffparser.api.model.Diff
The list if all Hunks which contain all changes that are part of this Diff.
getLatestHunk() - Method in class org.wickedsource.diffparser.api.model.Diff
Gets the last Hunk of changes that is part of this Diff.
getLineCount() - Method in class org.wickedsource.diffparser.api.model.Range
The count of lines in this range.
getLines() - Method in class org.wickedsource.diffparser.api.model.Hunk
The lines that are part of this Hunk.
getLineStart() - Method in class org.wickedsource.diffparser.api.model.Range
The line number at which this range starts (inclusive).
getLineType() - Method in class org.wickedsource.diffparser.api.model.Line
The type of this line.
getToFileName() - Method in class org.wickedsource.diffparser.api.model.Diff
Gets the name of the second file that was compared with this Diff (the file "to" which the changes were made, i.e. the "right" file of the diff).
getToFileRange() - Method in class org.wickedsource.diffparser.api.model.Hunk
The range of line numbers that this Hunk spans in the second file of the Diff.

H

Hunk - Class in org.wickedsource.diffparser.api.model
Represents a "hunk" of changes made to a file.
Hunk() - Constructor for class org.wickedsource.diffparser.api.model.Hunk
 

L

Line - Class in org.wickedsource.diffparser.api.model
Represents a line of a Diff.
Line(Line.LineType, String) - Constructor for class org.wickedsource.diffparser.api.model.Line
 
Line.LineType - Enum in org.wickedsource.diffparser.api.model
All possible types a line can have.
logger - Static variable in enum org.wickedsource.diffparser.unified.ParserState
 
logTransition(String, ParserState, ParserState) - Method in enum org.wickedsource.diffparser.unified.ParserState
 

M

matchesEndPattern(String, ParseWindow) - Method in enum org.wickedsource.diffparser.unified.ParserState
 
matchesFromFilePattern(String) - Method in enum org.wickedsource.diffparser.unified.ParserState
 
matchesFromLinePattern(String) - Method in enum org.wickedsource.diffparser.unified.ParserState
 
matchesHunkStartPattern(String) - Method in enum org.wickedsource.diffparser.unified.ParserState
 
matchesToFilePattern(String) - Method in enum org.wickedsource.diffparser.unified.ParserState
 
matchesToLinePattern(String) - Method in enum org.wickedsource.diffparser.unified.ParserState
 

N

nextState(ParseWindow) - Method in enum org.wickedsource.diffparser.unified.ParserState
Returns the next state of the state machine depending on the current state and the content of a window of lines around the line that is currently being parsed.

O

org.wickedsource.diffparser.api - package org.wickedsource.diffparser.api
 
org.wickedsource.diffparser.api.model - package org.wickedsource.diffparser.api.model
 
org.wickedsource.diffparser.unified - package org.wickedsource.diffparser.unified
 

P

parse(InputStream) - Method in interface org.wickedsource.diffparser.api.DiffParser
Constructs a list of Diffs from a textual InputStream.
parse(byte[]) - Method in interface org.wickedsource.diffparser.api.DiffParser
Constructs a list of Diffs from a textual byte array.
parse(File) - Method in interface org.wickedsource.diffparser.api.DiffParser
Constructs a list of Diffs from a textual File
parse(InputStream) - Method in class org.wickedsource.diffparser.api.UnifiedDiffParser
 
parse(byte[]) - Method in class org.wickedsource.diffparser.api.UnifiedDiffParser
 
parse(File) - Method in class org.wickedsource.diffparser.api.UnifiedDiffParser
 
ParserState - Enum in org.wickedsource.diffparser.unified
State machine for a parser parsing a unified diff.
ParseWindow - Interface in org.wickedsource.diffparser.unified
 

R

Range - Class in org.wickedsource.diffparser.api.model
Represents a range of line numbers that spans a window on a text file.
Range(int, int) - Constructor for class org.wickedsource.diffparser.api.model.Range
 
ResizingParseWindow - Class in org.wickedsource.diffparser.unified
A ResizingParseWindow slides through the lines of a input stream and offers methods to get the currently focused line as well as upcoming lines.
ResizingParseWindow(InputStream) - Constructor for class org.wickedsource.diffparser.unified.ResizingParseWindow
 

S

setFromFileName(String) - Method in class org.wickedsource.diffparser.api.model.Diff
 
setFromFileRange(Range) - Method in class org.wickedsource.diffparser.api.model.Hunk
 
setHeaderLines(List<String>) - Method in class org.wickedsource.diffparser.api.model.Diff
 
setHunks(List<Hunk>) - Method in class org.wickedsource.diffparser.api.model.Diff
 
setLines(List<Line>) - Method in class org.wickedsource.diffparser.api.model.Hunk
 
setToFileName(String) - Method in class org.wickedsource.diffparser.api.model.Diff
 
setToFileRange(Range) - Method in class org.wickedsource.diffparser.api.model.Hunk
 
slideForward() - Method in interface org.wickedsource.diffparser.unified.ParseWindow
Slides the window forward one line.
slideForward() - Method in class org.wickedsource.diffparser.unified.ResizingParseWindow
 

U

UnifiedDiffParser - Class in org.wickedsource.diffparser.api
A parser that parses a unified diff from text into a Diff data structure.
UnifiedDiffParser() - Constructor for class org.wickedsource.diffparser.api.UnifiedDiffParser
 

V

valueOf(String) - Static method in enum org.wickedsource.diffparser.api.model.Line.LineType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.wickedsource.diffparser.unified.ParserState
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.wickedsource.diffparser.api.model.Line.LineType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.wickedsource.diffparser.unified.ParserState
Returns an array containing the constants of this enum type, in the order they are declared.
A D G H L M N O P R S U V 

Copyright © 2016. All rights reserved.