public class FileDirectoryAdapter extends Object implements DirectoryAdapter<File>
File directory to the
DirectoryAdapter interface.| Constructor and Description |
|---|
FileDirectoryAdapter(File f)
Create a new adapter.
|
| Modifier and Type | Method and Description |
|---|---|
File |
getAdapted()
This method is used by the
TarEntryStrategy to get the adapted
directory representation if no other method defined in this interface (of
which there currently are none) fits its needs. |
public FileDirectoryAdapter(File f)
f - The directory to adapt. This directory must exist (and be a
directory).public File getAdapted()
DirectoryAdapterTarEntryStrategy to get the adapted
directory representation if no other method defined in this interface (of
which there currently are none) fits its needs.getAdapted in interface DirectoryAdapter<File>