public class FileConnection extends BaseConnection implements org.teiid.file.VirtualFileConnection
| Constructor and Description |
|---|
FileConnection(String parentDirectory,
Map<String,String> fileMapping,
boolean allowParentPaths) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(InputStream in,
String path) |
void |
close() |
org.teiid.file.VirtualFile[] |
getFiles(String location) |
boolean |
remove(String path) |
public void add(InputStream in, String path) throws org.teiid.translator.TranslatorException
add in interface org.teiid.file.VirtualFileConnectionorg.teiid.translator.TranslatorExceptionpublic boolean remove(String path) throws org.teiid.translator.TranslatorException
remove in interface org.teiid.file.VirtualFileConnectionorg.teiid.translator.TranslatorExceptionpublic org.teiid.file.VirtualFile[] getFiles(String location) throws org.teiid.translator.TranslatorException
getFiles in interface org.teiid.file.VirtualFileConnectionorg.teiid.translator.TranslatorExceptionCopyright © 2019. All rights reserved.