On Aug 28, 9:34 pm, Jorge Handl <
jha...@gmail.com> wrote:
> The get command only works when the cached object is a byte array. The
> crawler stores a String object in the text cache and a DocumentCacheItem in
> the page cache.
>
> The getobj command works for both because they both implement the toString()
> method.
>
> The getobjprop command is for more generic uses of the file cache, to show
> the output of calling an arbitrary method of the stored object, for example
> if you store an object that implements the "getName()" method, you would use
> "FileCache getobjprop <dir> getName <key>". The DocumentCacheItem class has
> a getMimeType() method, so you could get a list of all mime types by calling
> "FileCache getobjprop cache/page getMimeType".
>
> Hope this helps.
>
> - Jorge
>