| Package | com.hippohx |
| Class | public class FileKind |
See also
| Property | Defined by | ||
|---|---|---|---|
| name : String = ""
The name of the item.
| FileKind | ||
| stats : FileStats
Each FileKind object has a FileStats object that gathers a bunch of related data to it.
| FileKind | ||
| type : String = ""
The type of the item: "F" for files, "D" for directories.
| FileKind | ||
| Method | Defined by | ||
|---|---|---|---|
|
FileKind()
| FileKind | ||
|
isDirectory():Boolean
Returns true if it's a directory, false otherwise.
| FileKind | ||
|
toString():String
This is just a nice way of displaying object's information within a trace function.
| FileKind | ||
| Constant | Defined by | ||
|---|---|---|---|
| DIRECTORY_TYPE : String = "D" [static]
| FileKind | ||
| FILE_TYPE : String = "F" [static]
| FileKind | ||
| name | property |
public var name:String = ""The name of the item. Please note that this is NOT its path!
| stats | property |
public var stats:FileStatsEach FileKind object has a FileStats object that gathers a bunch of related data to it.
See also
| type | property |
public var type:String = ""The type of the item: "F" for files, "D" for directories. Use FILE_TYPE, DIRECTORY_TYPE and isDirectory().
See also
| FileKind | () | constructor |
public function FileKind()
| isDirectory | () | method |
public function isDirectory():BooleanReturns true if it's a directory, false otherwise.
ReturnsBoolean — true if it's a directory, false otherwise.
|
| toString | () | method |
public function toString():StringThis is just a nice way of displaying object's information within a trace function.
ReturnsString |
| DIRECTORY_TYPE | constant |
public static const DIRECTORY_TYPE:String = "D"
| FILE_TYPE | constant |
public static const FILE_TYPE:String = "F"