You are currently browsing the daily archive for March 16th, 2007.

I have downloaded the available pdf chapter from O’Reilly site.

And here is my understanding about File System API
1. Apollo is multi OS runtime.This means its syntax will run in any OS.

2. There is a new Object File (flash.filesystem.File).
Its properties are
appStoragedirectory
appResourceDirectory
currentDirectory
desktopDirectory
documentDirectory
userDirectory

3. File.documentsDirectory, as the name suggests is the My documents directory in Windows and Documents subdirectory of user in Mac.

4. There are two versions of some methods of the File class.They are synchronous and asynchronous.

5. Asynchronous methods are below listed.
a) copyToAsync()
b) deleteDirectoryAsync()
c) deleteFileAsync()
d) listDirectoryAsync()
e) moveToAsync()
f) moveToTrashAsync()
g) openAsync()

6. Asynchronous methods run in the background allowing other scripts to run.

7. File.listDirectory() method returns a list of directories or files in a particular directory in the form of an array.However it does not return an subdirectories and its contents.

8. File or directory info using File object properties
exists
isDirectory
isHidden
nativePath
parent
url
creationDate
modificationDate
name
size

9. Files or directories created using methods File.createTempFile() and File.createTempDirectory() are not deleted automatically.

10. Files and directories can be deleted using File.deleteFile() method.

Twitter Updates

  • Doing a mock up for an entrprise java web app 1 day ago
  • finally dropbox got rid of get from its url 1 week ago
  • The Pragmatic Programmer is excluded from this offer 1 week ago
  • Till Nov 25 th 1 week ago
  • Pragmatic publishers are giving 40% off on all books. Use coupon code PRAGTHANKS40 when checking out 1 week ago

a

 

March 2007
M T W T F S S
    Apr »
 1234
567891011
12131415161718
19202122232425
262728293031  

Blog Stats

  • 53,026 hits