org.das2.util.StringTransmogrifier

Apply an operation to a String to make it a String with similar meaning. This is needed for new code which indicates the orbit number, but the orbit number context is provided elsewhere on the plot. https://calvinandhobbes.fandom.com/wiki/Transmogrifier_Gun?file=CalvinTransmogrifierGunWeb.jpg

StringTransmogrifier( String regex, String result )

Create a regex-based transmogrifier. The result is the template which is populated from groups of the regular expression. The groups can be referenced by index or by name, with


transmogrify

transmogrify( String string ) → String

Parameters

string - a String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]