public abstract class DiffContentFactory
extends java.lang.Object
Constructor and Description |
---|
DiffContentFactory() |
Modifier and Type | Method and Description |
---|---|
abstract DocumentContent |
create(Document document,
DocumentContent referent) |
abstract DocumentContent |
create(Project project,
Document document) |
abstract DocumentContent |
create(Project project,
Document document,
DocumentContent referent) |
abstract DocumentContent |
create(Project project,
Document document,
FileType fileType) |
abstract DocumentContent |
create(Project project,
Document document,
VirtualFile highlightFile) |
abstract DocumentContent |
create(Project project,
java.lang.String text) |
abstract DocumentContent |
create(Project project,
java.lang.String text,
DocumentContent referent) |
abstract DocumentContent |
create(Project project,
java.lang.String text,
FileType type) |
abstract DocumentContent |
create(Project project,
java.lang.String text,
FileType type,
boolean respectLineSeparators) |
abstract DocumentContent |
create(Project project,
java.lang.String text,
VirtualFile highlightFile) |
abstract DiffContent |
create(Project project,
VirtualFile file) |
abstract DocumentContent |
create(java.lang.String text) |
abstract DocumentContent |
create(java.lang.String text,
DocumentContent referent) |
abstract DocumentContent |
create(java.lang.String text,
FileType type) |
abstract DocumentContent |
create(java.lang.String text,
FileType type,
boolean respectLineSeparators) |
abstract DocumentContent |
create(java.lang.String text,
VirtualFile highlightFile) |
abstract DiffContent |
createBinary(Project project,
byte [] content,
FileType type,
java.lang.String fileName) |
DiffContent |
createBinary(Project project,
java.lang.String fileName,
FileType type,
byte [] content)
Deprecated.
|
abstract DiffContent |
createClipboardContent() |
abstract DocumentContent |
createClipboardContent(DocumentContent referent) |
abstract DiffContent |
createClipboardContent(Project project) |
abstract DocumentContent |
createClipboardContent(Project project,
DocumentContent referent) |
abstract DocumentContent |
createDocument(Project project,
VirtualFile file) |
abstract DocumentContent |
createEditable(Project project,
java.lang.String text,
FileType fileType) |
abstract EmptyContent |
createEmpty()
Content for the 'missing' side of addition/deletion diff request.
|
abstract FileContent |
createFile(Project project,
VirtualFile file) |
abstract DocumentContent |
createFragment(Project project,
DocumentContent content,
TextRange range) |
abstract DocumentContent |
createFragment(Project project,
Document document,
TextRange range) |
abstract DiffContent |
createFromBytes(Project project,
byte [] content,
FileType fileType,
java.lang.String fileName) |
abstract DiffContent |
createFromBytes(Project project,
byte [] content,
VirtualFile highlightFile) |
DiffContent |
createFromBytes(Project project,
VirtualFile highlightFile,
byte [] content)
Deprecated.
|
static DiffContentFactory |
getInstance() |
public static DiffContentFactory getInstance()
public abstract EmptyContent createEmpty()
public abstract DocumentContent create(java.lang.String text)
public abstract DocumentContent create(java.lang.String text, FileType type)
public abstract DocumentContent create(java.lang.String text, FileType type, boolean respectLineSeparators)
public abstract DocumentContent create(java.lang.String text, VirtualFile highlightFile)
public abstract DocumentContent create(java.lang.String text, DocumentContent referent)
public abstract DocumentContent create(Project project, java.lang.String text)
public abstract DocumentContent create(Project project, java.lang.String text, FileType type)
public abstract DocumentContent create(Project project, java.lang.String text, FileType type, boolean respectLineSeparators)
public abstract DocumentContent create(Project project, java.lang.String text, VirtualFile highlightFile)
public abstract DocumentContent create(Project project, java.lang.String text, DocumentContent referent)
public abstract DocumentContent createEditable(Project project, java.lang.String text, FileType fileType)
public abstract DocumentContent create(Document document, DocumentContent referent)
public abstract DocumentContent create(Project project, Document document)
public abstract DocumentContent create(Project project, Document document, FileType fileType)
public abstract DocumentContent create(Project project, Document document, VirtualFile highlightFile)
public abstract DocumentContent create(Project project, Document document, DocumentContent referent)
public abstract DiffContent create(Project project, VirtualFile file)
public abstract DocumentContent createDocument(Project project, VirtualFile file)
public abstract FileContent createFile(Project project, VirtualFile file)
public abstract DocumentContent createFragment(Project project, Document document, TextRange range)
public abstract DocumentContent createFragment(Project project, DocumentContent content, TextRange range)
public abstract DiffContent createClipboardContent()
public abstract DocumentContent createClipboardContent(DocumentContent referent)
public abstract DiffContent createClipboardContent(Project project)
public abstract DocumentContent createClipboardContent(Project project, DocumentContent referent)
public abstract DiffContent createFromBytes(Project project, byte [] content, FileType fileType, java.lang.String fileName) throws java.io.IOException
java.io.IOException
public abstract DiffContent createFromBytes(Project project, byte [] content, VirtualFile highlightFile) throws java.io.IOException
java.io.IOException
public abstract DiffContent createBinary(Project project, byte [] content, FileType type, java.lang.String fileName) throws java.io.IOException
java.io.IOException
@Deprecated public DiffContent createFromBytes(Project project, VirtualFile highlightFile, byte [] content) throws java.io.IOException
java.io.IOException
@Deprecated public DiffContent createBinary(Project project, java.lang.String fileName, FileType type, byte [] content) throws java.io.IOException
java.io.IOException