public class FileIdCache
extends java.lang.Object
Converts a file/directory id to a share relative path.
| Constructor and Description |
|---|
FileIdCache()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPath(int fid,
java.lang.String path)
Add an entry to the cache
|
void |
deletePath(int fid)
Delete an entry from the cache
|
java.lang.String |
findPath(int fid)
Convert a file id to a path
|
public final void addPath(int fid,
java.lang.String path)
fid - intpath - Stringpublic final java.lang.String findPath(int fid)
fid - intpublic final void deletePath(int fid)
fid - intCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.