gnu.kawa.xml

Class WriteTo

Implemented Interfaces:
Named

public class WriteTo
extends Procedure2

Write a value to a named file.

Field Summary

static WriteTo
writeTo
static WriteTo
writeToIfChanged

Method Summary

Object
apply2(Object value, Object fileName)
static void
writeTo(Object value, Object path)
static void
writeToIfChanged(Object value, Object path)

Methods inherited from class gnu.mapping.Procedure2

apply0, apply1, apply2, apply3, apply4, applyN, numArgs

Methods inherited from class gnu.mapping.Procedure

apply, apply, apply0, apply1, apply2, apply3, apply4, applyN, check0, check1, check2, check3, check4, checkArgCount, checkN, getSetter, getSourceLocation, match0, match1, match2, match3, match4, matchN, maxArgs, minArgs, numArgs, set0, set1, setN, setSetter, setSourceLocation, toString

Methods inherited from class gnu.mapping.PropertySet

getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol

Field Details

writeTo

public static final WriteTo writeTo

writeToIfChanged

public static final WriteTo writeToIfChanged

Method Details

apply2

public Object apply2(Object value,
                     Object fileName)
            throws Throwable
Overrides:
apply2 in interface Procedure2

writeTo

public static void writeTo(Object value,
                           Object path)
            throws Throwable

writeToIfChanged

public static void writeToIfChanged(Object value,
                                    Object path)
            throws Throwable