Holger's Java API

## Uses of Class
com.antelmann.io.MyFile

Packages that use MyFile
com.antelmann: These are general classes that apply for the framework as a whole.
com.antelmann.cddb: This package contains classes to maintain music CD collections and associate CDs with information from a CDDB service.
com.antelmann.io: This package contains classes that are concerned with input/output operations.
com.antelmann.net: The classes in this package are designed to provide convenient access to Internet related functionality.
com.antelmann.net.mail: The classes in this package are designed to ease the handling of emails.
com.antelmann.util: This package contains generally useful classes that are used throughout the other packages in this framework.
com.antelmann.util.logging: This package contains classes that implement a custom logging for this framework - separate from java.util.logging.

Uses of MyFile in com.antelmann

Fields in com.antelmann declared as MyFile
`static MyFile` `Debug.file` a MyFile object that is initially null

Uses of MyFile in com.antelmann.cddb

Methods in com.antelmann.cddb that return MyFile
`MyFile` `FileCDDB.getBaseDirectory()` returns the directory it uses to store/retrieve CD info
`MyFile` `FileCDDB.getFileHandle(CDDBRecord record)` returns the file handle corresponding to the given record (this file would contain the information read to construct the CDInfo object)

Uses of MyFile in com.antelmann.io

Methods in com.antelmann.io that return MyFile
`MyFile` `MyFile.compress(boolean deleteOriginal)` compresses the file using gzip to a file named by adding the type gz to the original name.
`static MyFile` `MyFile.createTempDir(String prefix, String suffix)` creates a new empty directory in the default temporary-file directory, using the given prefix and suffix to generate its name.
`static MyFile` `MyFile.createTempDir(String prefix, String suffix, File dir)` creates a new empty directory in the given dir, using the given prefix and suffix to generate its name.
`MyFile` `MyFile.ensureExtension(String extension)` returns a file that has the given (lower case) file extension based on this file.
`MyFile` `MyFile.getFileRelativeTo(File dir)` returns the file as a relative reference from the given directory.
`static MyFile` `MyFile.getTempDir()`
`static MyFile` `MyFile.getUserHomeDir()`
`static MyFile` `MyFile.getWorkingDir()`
`MyFile[]` `MyFile.listFilesInTree()` returns all files including those in subdirectories recursively
`MyFile[]` `MyFile.listFilesInTree(FileFilter filter)`
`MyFile[]` `MyFile.listFilesInTree(FilenameFilter filter)`
`MyFile[]` `MyFile.listFilesInTree(Filter<? super MyFile> filter)`
`MyFile[]` `MyFile.synchronizeDir(File destinationDir)` Assuming the current MyFile is a directory, this method synchronizes it with the destination directory by writing all files into the destination directory that exist in the origin directory.
`MyFile[]` `MyFile.synchronizeDir(File destinationDir, FileFilter filter)` synchronizes only those files that are accepted by the filter
`MyFile[]` `MyFile.synchronizeDir(File destinationDir, FileFilter filter, Logger logger, Monitor monitor)` This method allows for intermediate feedback and interactive stopping; otherwise it's the same as the other synchronizeDir() method.
`MyFile[]` `MyFile.synchronizeDir(File destinationDir, Logger logger)` This method allows for intermediate feedback through the logger; otherwise it's the same as the other synchronizeDir() method.
`MyFile[]` `MyFile.synchronizeDir(File destinationDir, Logger logger, Monitor monitor)` This method allows for intermediate feedback and interactive stopping; otherwise it's the same as the other synchronizeDir() method.

Methods in com.antelmann.io that return types with arguments of type MyFile
`Iterator<MyFile>` `MyFile.iterateFilesInTree(Filter<? super File> filter)`

Method parameters in com.antelmann.io with type arguments of type MyFile
`MyFile[]` `MyFile.listFilesInTree(Filter<? super MyFile> filter)`

Uses of MyFile in com.antelmann.net

Subclasses of MyFile in com.antelmann.net
`class` `ServerLogFile` ServerLogFile implements a web-server log based on a standard log file.

Methods in com.antelmann.net that return MyFile
`MyFile` `LocalWeb.getWebDir()`
`MyFile` `LocalWeb.getWebRoot()`

Uses of MyFile in com.antelmann.net.mail

Methods in com.antelmann.net.mail that return MyFile
`MyFile` `Email.Attachment.saveToDir(File dir)` the name of the attachment will be used as the file name; existing files would be overwritten

Uses of MyFile in com.antelmann.util

Fields in com.antelmann.util declared as MyFile
`protected MyFile` `FormattedResourceBundle.file` denotes the underlying file

Uses of MyFile in com.antelmann.util.logging

Methods in com.antelmann.util.logging that return MyFile
`MyFile` `FileLog.getFile()`

(c) Holger Antelmann since 2001- all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads