com.tle.common.scripting.types
Interface FileHandleScriptType
Declaration: public interface FileHandleScriptType

 

 

Methods Summary
abstract java.lang.String getFilepath()
    
abstract java.lang.String getName()
    
abstract boolean isReadOnly()
    
abstract java.lang.String toString()
    

 

 

 

 

getName

 

public abstract java.lang.String getName( )

 

Returns:
Just the name of the file.

 

 

 

getFilepath

 

public abstract java.lang.String getFilepath( )

 

Returns:
The path (including the filename) of the file, relative to the item.

 

 

 

toString

 

public abstract java.lang.String toString( )

 

Returns:
Same as getFilepath()

 

 

 

isReadOnly

 

public abstract boolean isReadOnly( )

 

Returns:
File handles for other items will always be read-only. Attempting use write/delete operations on these handles will throw an exception.