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 SourceNode
IOException
public List<SourceNode> getChildren() throws IOException
getChildren
in interface SourceNode
IOException
public boolean isFolderish()
isFolderish
in interface SourceNode
public String getName()
getName
in interface SourceNode
public String getSourcePath()
getSourcePath
in interface SourceNode
public static String getFileNameNoExt(File file)
Copyright © 2018 Nuxeo. All rights reserved.