public final class Documents
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static org.eclipse.jface.text.IDocument |
fromFile(org.eclipse.core.resources.IFile file) |
static org.eclipse.jface.text.IDocument |
fromFileBuffer(org.eclipse.core.filebuffers.IFileBuffer buffer) |
static org.eclipse.jface.text.IDocument |
fromFileStore(org.eclipse.core.filesystem.IFileStore store) |
static org.eclipse.jface.text.IDocument |
fromPath(org.eclipse.core.runtime.IPath path,
org.eclipse.core.filebuffers.LocationKind kind) |
static java.lang.String |
get(org.eclipse.jface.text.IDocument document,
int offset,
int length) |
public static org.eclipse.jface.text.IDocument fromFile(org.eclipse.core.resources.IFile file)
public static org.eclipse.jface.text.IDocument fromFileStore(org.eclipse.core.filesystem.IFileStore store)
public static org.eclipse.jface.text.IDocument fromFileBuffer(org.eclipse.core.filebuffers.IFileBuffer buffer)
public static org.eclipse.jface.text.IDocument fromPath(org.eclipse.core.runtime.IPath path, org.eclipse.core.filebuffers.LocationKind kind)
public static java.lang.String get(org.eclipse.jface.text.IDocument document, int offset, int length)