public class File
extends java.lang.Object
A File is an abstraction of a file stored in the file space. It has a name, permissions, type, and data. These are the components sufficient to specify the behavior of Calendar Tool file operations.
| Modifier and Type | Field and Description |
|---|---|
(package private) FileData |
data
File data is defined abstractly as a UserCalendar.
|
(package private) java.lang.String |
name
The string representation of a file name is an abstraction of file
names used in specific operating environments.
|
(package private) FilePermissions |
permissions
FilePermissions indicate whether a file is readable and/or writable.
|
(package private) int |
size
The size in megabytes of a file.
|
(package private) FileType |
type
File type is either "calendar" or "other".
|
| Constructor and Description |
|---|
File() |
java.lang.String name
FilePermissions permissions
FileType type
int size
FileData data