public class DiffContentFactoryImpl extends DiffContentFactoryEx
| Constructor and Description |
|---|
DiffContentFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
DocumentContent |
create(Document document,
DocumentContent referent) |
DocumentContent |
create(Project project,
Document document) |
DocumentContent |
create(Project project,
Document document,
DocumentContent referent) |
DocumentContent |
create(Project project,
Document document,
FileType fileType) |
DocumentContent |
create(Project project,
Document document,
VirtualFile highlightFile) |
DocumentContent |
create(Project project,
java.lang.String text) |
DocumentContent |
create(Project project,
java.lang.String text,
DocumentContent referent) |
DocumentContent |
create(Project project,
java.lang.String text,
FilePath filePath) |
DocumentContent |
create(Project project,
java.lang.String text,
FileType type) |
DocumentContent |
create(Project project,
java.lang.String text,
FileType type,
boolean respectLineSeparators) |
DocumentContent |
create(Project project,
java.lang.String text,
VirtualFile highlightFile) |
DiffContent |
create(Project project,
VirtualFile file) |
DocumentContent |
create(java.lang.String text) |
DocumentContent |
create(java.lang.String text,
DocumentContent referent) |
DocumentContent |
create(java.lang.String text,
FileType type) |
DocumentContent |
create(java.lang.String text,
FileType type,
boolean respectLineSeparators) |
DocumentContent |
create(java.lang.String text,
VirtualFile highlightFile) |
DiffContent |
createBinary(Project project,
byte [] content,
FileType type,
java.lang.String fileName) |
DiffContent |
createClipboardContent() |
DocumentContent |
createClipboardContent(DocumentContent referent) |
DiffContent |
createClipboardContent(Project project) |
DocumentContent |
createClipboardContent(Project project,
DocumentContent referent) |
DocumentContent |
createDocument(Project project,
VirtualFile file) |
DocumentContent |
createDocumentFromBytes(Project project,
byte [] content,
FilePath filePath) |
DocumentContent |
createDocumentFromBytes(Project project,
byte [] content,
FileType fileType,
java.lang.String fileName) |
DocumentContent |
createDocumentFromBytes(Project project,
byte [] content,
VirtualFile highlightFile) |
DocumentContent |
createEditable(Project project,
java.lang.String text,
FileType fileType) |
EmptyContent |
createEmpty()
Content for the 'missing' side of addition/deletion diff request.
|
FileContent |
createFile(Project project,
VirtualFile file) |
DocumentContent |
createFragment(Project project,
DocumentContent content,
TextRange range) |
DocumentContent |
createFragment(Project project,
Document document,
TextRange range) |
DiffContent |
createFromBytes(Project project,
byte [] content,
FilePath filePath) |
DiffContent |
createFromBytes(Project project,
byte [] content,
FilePath filePath,
java.nio.charset.Charset defaultCharset) |
DiffContent |
createFromBytes(Project project,
byte [] content,
FileType fileType,
java.lang.String fileName) |
DiffContent |
createFromBytes(Project project,
byte [] content,
VirtualFile highlightFile) |
static java.nio.charset.Charset |
guessCharset(Project project,
byte [] content,
FilePath filePath) |
static java.nio.charset.Charset |
guessCharset(Project project,
byte [] content,
FileType fileType) |
static java.nio.charset.Charset |
guessCharset(Project project,
byte [] content,
VirtualFile highlightFile) |
getInstanceExcreateBinary, createFromBytes, getInstancepublic EmptyContent createEmpty()
DiffContentFactorycreateEmpty in class DiffContentFactorypublic DocumentContent create(java.lang.String text)
create in class DiffContentFactorypublic DocumentContent create(java.lang.String text, FileType type)
create in class DiffContentFactorypublic DocumentContent create(java.lang.String text, FileType type, boolean respectLineSeparators)
create in class DiffContentFactorypublic DocumentContent create(java.lang.String text, VirtualFile highlightFile)
create in class DiffContentFactorypublic DocumentContent create(java.lang.String text, DocumentContent referent)
create in class DiffContentFactorypublic DocumentContent create(Project project, java.lang.String text)
create in class DiffContentFactorypublic DocumentContent create(Project project, java.lang.String text, FileType type)
create in class DiffContentFactorypublic DocumentContent create(Project project, java.lang.String text, FileType type, boolean respectLineSeparators)
create in class DiffContentFactorypublic DocumentContent create(Project project, java.lang.String text, FilePath filePath)
create in class DiffContentFactoryExpublic DocumentContent create(Project project, java.lang.String text, VirtualFile highlightFile)
create in class DiffContentFactorypublic DocumentContent create(Project project, java.lang.String text, DocumentContent referent)
create in class DiffContentFactorypublic DocumentContent createEditable(Project project, java.lang.String text, FileType fileType)
createEditable in class DiffContentFactorypublic DocumentContent create(Document document, DocumentContent referent)
create in class DiffContentFactorypublic DocumentContent create(Project project, Document document)
create in class DiffContentFactorypublic DocumentContent create(Project project, Document document, FileType fileType)
create in class DiffContentFactorypublic DocumentContent create(Project project, Document document, VirtualFile highlightFile)
create in class DiffContentFactorypublic DocumentContent create(Project project, Document document, DocumentContent referent)
create in class DiffContentFactorypublic DiffContent create(Project project, VirtualFile file)
create in class DiffContentFactorypublic DocumentContent createDocument(Project project, VirtualFile file)
createDocument in class DiffContentFactorypublic FileContent createFile(Project project, VirtualFile file)
createFile in class DiffContentFactorypublic DocumentContent createFragment(Project project, Document document, TextRange range)
createFragment in class DiffContentFactorypublic DocumentContent createFragment(Project project, DocumentContent content, TextRange range)
createFragment in class DiffContentFactorypublic DiffContent createClipboardContent()
createClipboardContent in class DiffContentFactorypublic DocumentContent createClipboardContent(DocumentContent referent)
createClipboardContent in class DiffContentFactorypublic DiffContent createClipboardContent(Project project)
createClipboardContent in class DiffContentFactorypublic DocumentContent createClipboardContent(Project project, DocumentContent referent)
createClipboardContent in class DiffContentFactorypublic DiffContent createFromBytes(Project project, byte [] content, FilePath filePath) throws java.io.IOException
createFromBytes in class DiffContentFactoryExjava.io.IOExceptionpublic DiffContent createFromBytes(Project project, byte [] content, FilePath filePath, java.nio.charset.Charset defaultCharset) throws java.io.IOException
createFromBytes in class DiffContentFactoryExjava.io.IOExceptionpublic DiffContent createFromBytes(Project project, byte [] content, FileType fileType, java.lang.String fileName) throws java.io.IOException
createFromBytes in class DiffContentFactoryjava.io.IOExceptionpublic DiffContent createFromBytes(Project project, byte [] content, VirtualFile highlightFile) throws java.io.IOException
createFromBytes in class DiffContentFactoryExjava.io.IOExceptionpublic DocumentContent createDocumentFromBytes(Project project, byte [] content, FileType fileType, java.lang.String fileName)
createDocumentFromBytes in class DiffContentFactoryExpublic DocumentContent createDocumentFromBytes(Project project, byte [] content, FilePath filePath)
createDocumentFromBytes in class DiffContentFactoryExpublic DocumentContent createDocumentFromBytes(Project project, byte [] content, VirtualFile highlightFile)
createDocumentFromBytes in class DiffContentFactoryExpublic DiffContent createBinary(Project project, byte [] content, FileType type, java.lang.String fileName) throws java.io.IOException
createBinary in class DiffContentFactoryjava.io.IOExceptionpublic static java.nio.charset.Charset guessCharset(Project project, byte [] content, FilePath filePath)
public static java.nio.charset.Charset guessCharset(Project project, byte [] content, VirtualFile highlightFile)