Example usage for org.eclipse.jdt.core.tests.util Util fileContentToDisplayString

List of usage examples for org.eclipse.jdt.core.tests.util Util fileContentToDisplayString

Introduction

In this page you can find the example usage for org.eclipse.jdt.core.tests.util Util fileContentToDisplayString.

Prototype

public static String fileContentToDisplayString(String sourceFilePath, int indent,
        boolean independantLineDelimiter) 

Source Link

Document

Reads the content of the given source file and converts it to a display string.

Usage

From source file:org.eclipse.objectteams.otdt.tests.otjld.Stringify.java

License:Open Source License

public static void main(String[] args) {
    System.out.println(Util.fileContentToDisplayString(args[0], 2, true));
}