Class AsciiDocFile

java.lang.Object
org.l2x6.cq.maven.doc.processor.AsciiDocFile

public class AsciiDocFile extends Object
Represents an AsciiDoc file with the added capability to check and manipulate its content.
  • Constructor Details

    • AsciiDocFile

      public AsciiDocFile(Path path, String cqExtension, Charset charset)
  • Method Details

    • getContent

      public String getContent()
    • getPath

      public Path getPath()
    • getCqExtension

      public String getCqExtension()
    • append

      public void append(String contentToAppend)
    • endsWith

      public boolean endsWith(String suffix)
    • replace

      public void replace(String oldString, String newString)