Class Edit

java.lang.Object
io.spring.javaformat.formatter.Edit
Direct Known Subclasses:
FileEdit, StreamsEdit

public abstract class Edit extends Object
Base class for edits that can be applied to content.
Author:
Phillip Webb
  • Constructor Details

    • Edit

      protected Edit(String originalContent, org.eclipse.text.edits.TextEdit textEdit)
  • Method Details

    • hasEdits

      public boolean hasEdits()
    • getFormattedContent

      public String getFormattedContent() throws Exception
      Throws:
      Exception