com.silverpeas.silvercrawler.model
Class FileFolder

java.lang.Object
  extended by com.silverpeas.silvercrawler.model.FileFolder
All Implemented Interfaces:
Serializable

public class FileFolder
extends Object
implements Serializable

Class declaration

Author:
See Also:
Serialized Form

Constructor Summary
FileFolder(String rootPath, String path)
          Constructor declaration
FileFolder(String rootPath, String path, boolean isAdmin, String componentId)
           
 
Method Summary
 Collection<FileDetail> getFiles()
          Method declaration
 Collection<FileDetail> getFolders()
          Method declaration
 String getName()
          Method declaration
 String getPath()
          Method declaration
 boolean isReadable()
           
 boolean isWritable()
           
 void setReadable(boolean readable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileFolder

public FileFolder(String rootPath,
                  String path)
Constructor declaration

Parameters:
path -
See Also:

FileFolder

public FileFolder(String rootPath,
                  String path,
                  boolean isAdmin,
                  String componentId)
Method Detail

isWritable

public boolean isWritable()

getFiles

public Collection<FileDetail> getFiles()
Method declaration

Returns:
See Also:

getFolders

public Collection<FileDetail> getFolders()
Method declaration

Returns:
See Also:

getName

public String getName()
Method declaration

Returns:
See Also:

getPath

public String getPath()
Method declaration

Returns:
See Also:

setReadable

public void setReadable(boolean readable)
Parameters:
readable - the readable to set

isReadable

public boolean isReadable()
Returns:
the readable


Copyright © 2016 Silverpeas. All Rights Reserved.