samples/exceptions/src/org/apidesign/exceptions/trycatchredo/IOManager.java
changeset 308 7f38f014244c
child 309 1687adb2b7f0
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/samples/exceptions/src/org/apidesign/exceptions/trycatchredo/IOManager.java	Sun Feb 01 13:27:04 2009 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +package org.apidesign.exceptions.trycatchredo;
     1.5 +
     1.6 +import java.net.URL;
     1.7 +import javax.swing.Action;
     1.8 +
     1.9 +/**
    1.10 + *
    1.11 + * @author Jaroslav Tulach <jtulach@netbeans.org>
    1.12 + */
    1.13 +public final class IOManager {
    1.14 +    IOManager() {
    1.15 +    }
    1.16 +
    1.17 +    public static Action createSaveAction(URL where, CharSequence what) {
    1.18 +        return new SaveAction(where, what);
    1.19 +    }
    1.20 +}