Class BulkReplaceOperation

  • All Implemented Interfaces:
    ResourceOperation<File>

    public class BulkReplaceOperation
    extends java.lang.Object
    implements ResourceOperation<File>
    This operation can be used for bulk replace of tokens. The operation has a single write at the end. Created by ArjunSahasranam on 12/10/15.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(java.lang.String from, java.lang.String to)  
      void addAll​(java.util.Map<java.lang.String,​java.lang.String> values)  
      void perform​(File resource)
      Perform the given operation on the resource.
      • Methods inherited from class java.lang.Object

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

      • BulkReplaceOperation

        public BulkReplaceOperation()
    • Method Detail

      • add

        public void add​(java.lang.String from,
                        java.lang.String to)
      • addAll

        public void addAll​(java.util.Map<java.lang.String,​java.lang.String> values)
      • perform

        public void perform​(File resource)
        Description copied from interface: ResourceOperation
        Perform the given operation on the resource.
        Specified by:
        perform in interface ResourceOperation<File>
        Parameters:
        resource - the resource