Class WebMacro


  • public class WebMacro
    extends java.lang.Object
    Deprecated.
    Obsolete and outdated.
    This is deprecated without replacement.
    Version:
    $Id: WebMacro.java 898028 2010-01-11 19:36:31Z nbubna $
    Author:
    Jason van Zyl, Daniel Rall
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String[] perLineREs
      Deprecated.
      The regexes to use for line by line substition.
      protected static java.lang.String VM_EXT
      Deprecated.
       
      protected static java.lang.String WM_EXT
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      WebMacro()
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void convert​(java.lang.String target)
      Deprecated.
      Iterate through the set of find/replace regexes that will convert a given WM template to a VM template
      java.lang.String convertTemplate​(java.lang.String template)
      Deprecated.
      Apply find/replace regexes to our WM template
      static void main​(java.lang.String[] args)
      Deprecated.
      Main hook for the conversion process.
      • Methods inherited from class java.lang.Object

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

      • perLineREs

        protected static java.lang.String[] perLineREs
        Deprecated.
        The regexes to use for line by line substition. The regexes come in pairs. The first is the string to match, the second is the substitution to make.
    • Constructor Detail

      • WebMacro

        public WebMacro()
        Deprecated.
    • Method Detail

      • convert

        public void convert​(java.lang.String target)
        Deprecated.
        Iterate through the set of find/replace regexes that will convert a given WM template to a VM template
        Parameters:
        target -
      • convertTemplate

        public java.lang.String convertTemplate​(java.lang.String template)
        Deprecated.
        Apply find/replace regexes to our WM template
        Parameters:
        template -
        Returns:
        Returns the template with all regexprs applied.
      • main

        public static void main​(java.lang.String[] args)
        Deprecated.
        Main hook for the conversion process.
        Parameters:
        args -