Java org.eclipse.jgit.diff RawText fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jgit.diff RawText fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jgit.diff RawText.

The text is from its open source code.

Subclass

org.eclipse.jgit.diff.RawText has subclasses.
Click this link to see all its subclasses.

Field

RawTextEMPTY_TEXT
A RawText of length 0

Constructor

RawText(byte[] input)
Create a new sequence from an existing content byte array.
RawText(File file)
Create a new sequence from a file.

Method

StringgetLineDelimiter()
Get the line delimiter for the first line.
StringgetString(int i)
Get the text for a single line.
StringgetString(int begin, int end, boolean dropLF)
Get the text for a region of lines.
booleanisBinary(byte[] raw)
Determine heuristically whether a byte array represents binary (as opposed to text) content.
booleanisBinary(InputStream raw)
Determine heuristically whether the bytes contained in a stream represents binary (as opposed to text) content.
booleanisMissingNewlineAtEnd()
Determine if the file ends with a LF ('\n').
intsize()
voidwriteLine(OutputStream out, int i)
Write a specific line to the output stream, without its trailing LF.