public class FileSourceNode extends Object implements SourceNode
SourceNode| Constructor and Description |
|---|
FileSourceNode(File file) |
FileSourceNode(String path) |
| Modifier and Type | Method and Description |
|---|---|
BlobHolder |
getBlobHolder() |
List<SourceNode> |
getChildren() |
File |
getFile() |
static String |
getFileNameNoExt(File file) |
String |
getName() |
String |
getSourcePath() |
boolean |
isFolderish() |
public FileSourceNode(File file)
public FileSourceNode(String path)
public BlobHolder getBlobHolder() throws IOException
getBlobHolder in interface SourceNodeIOExceptionpublic List<SourceNode> getChildren() throws IOException
getChildren in interface SourceNodeIOExceptionpublic boolean isFolderish()
isFolderish in interface SourceNodepublic String getName()
getName in interface SourceNodepublic String getSourcePath()
getSourcePath in interface SourceNodepublic static String getFileNameNoExt(File file)
Copyright © 2018 Nuxeo. All rights reserved.