Class Sed


  • public class Sed
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Sed​(Replacer macro, java.io.File file)  
      Sed​(java.io.File file)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int doIt()  
      void replace​(java.lang.String pattern, java.lang.String replacement)  
      void setBackup​(boolean b)  
      void setOutput​(java.io.File f)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Sed

        public Sed​(Replacer macro,
                   java.io.File file)
      • Sed

        public Sed​(java.io.File file)
    • Method Detail

      • setOutput

        public void setOutput​(java.io.File f)
      • replace

        public void replace​(java.lang.String pattern,
                            java.lang.String replacement)
      • doIt

        public int doIt()
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • setBackup

        public void setBackup​(boolean b)