org.at4j.tar.builder
Interface DirectoryAdapter<T>

All Known Implementing Classes:
DirectoryViewDirectoryAdapter, FileDirectoryAdapter

public interface DirectoryAdapter<T>

This interface adapts a directory entity of some kind to an interface that the different TarEntryStrategy implementations can use.

Currently, this interface does not contain any methods except for the getAdapted() method. Other methods may be added here in the future.

Since:
1.0
Author:
Karl Gustafsson

Method Summary
 T 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.
 

Method Detail

getAdapted

T 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.

Returns:
The adapted directory entity.