Changed signatures of directory listing returning methods to

SortedMap where appropriate.  Fixed embarassing accumulation of
broken javadocs.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3258 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-06-27 23:29:57 +00:00
parent 39728a6f86
commit be6dd8c9dc
26 changed files with 86 additions and 81 deletions

View File

@@ -21,7 +21,7 @@ import java.io.OutputStream;
import java.io.RandomAccessFile;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.SortedMap;
/**
* The repository interface. Methods for filesystem like, versioning,
@@ -69,7 +69,7 @@ interface Repository
* Create a new file. The designated file cannot already exist.
* @param path The path to the directory to contain the new file.
* @param name The name to give the new file.
* @param source An InputStream of data to put in the file. May be null.
* @return An OutputStream.
*/
public OutputStream createFile(String path, String name);
@@ -95,7 +95,7 @@ interface Repository
* @param path The path to the directory.
* @return A listing.
*/
public Map<String, AVMNodeDescriptor> getListing(int version, String path);
public SortedMap<String, AVMNodeDescriptor> getListing(int version, String path);
/**
* Get an output stream to a file.