org.teiid.translator
Class FileConnection.Util

java.lang.Object
  extended by org.teiid.translator.FileConnection.Util
Enclosing interface:
FileConnection

public static class FileConnection.Util
extends java.lang.Object


Constructor Summary
FileConnection.Util()
           
 
Method Summary
static java.io.File[] getFiles(java.lang.String location, FileConnection fc)
          Gets the file or files, if the path is a directory, at the given path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileConnection.Util

public FileConnection.Util()
Method Detail

getFiles

public static java.io.File[] getFiles(java.lang.String location,
                                      FileConnection fc)
Gets the file or files, if the path is a directory, at the given path. The path may include a trailing extension wildcard, such as foo/bar/*.txt to return only txt files at the given path. Note the path can only refer to a single directory - directories are not recursively scanned.

Parameters:
path -
Returns:


Copyright © 2011. All Rights Reserved.