intarsys runtime library

de.intarsys.tools.file
Class Loader

java.lang.Object
  extended by de.intarsys.tools.file.Loader

public abstract class Loader
extends Object

A utility class to simplify the task of loading files and / or directories.


Field Summary
static String DEFAULT_LANGUAGE
           
static String PATH_SEPARATOR
           
 
Constructor Summary
Loader()
           
 
Method Summary
 boolean load(File file, boolean readOnly, boolean recursive)
           
 boolean load(File parent, String filename, boolean readOnly, boolean recursive)
           
 boolean loadNLS(File file, boolean readOnly, boolean recursive)
           
 boolean loadNLS(File parent, String filename, boolean readOnly, boolean recursive)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PATH_SEPARATOR

public static final String PATH_SEPARATOR
See Also:
Constant Field Values

DEFAULT_LANGUAGE

public static final String DEFAULT_LANGUAGE
See Also:
Constant Field Values
Constructor Detail

Loader

public Loader()
Method Detail

load

public boolean load(File file,
                    boolean readOnly,
                    boolean recursive)
             throws IOException
Throws:
IOException

load

public boolean load(File parent,
                    String filename,
                    boolean readOnly,
                    boolean recursive)
             throws IOException
Throws:
IOException

loadNLS

public boolean loadNLS(File file,
                       boolean readOnly,
                       boolean recursive)
                throws IOException
Throws:
IOException

loadNLS

public boolean loadNLS(File parent,
                       String filename,
                       boolean readOnly,
                       boolean recursive)
                throws IOException
Throws:
IOException

intarsys runtime library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.