On Mon, 17 Sep 2007 11:26:08 -0400, Rob Heittman wrote:

> 1) 
> // Create a directory able to expose a hierarchy of files 
> Directory directory = new Directory(getContext(), 
> LocalReference.createFileReference(new File("./").getPath())); 
> 

This one is equally broken

> 2) 
> // Create a directory able to expose a hierarchy of files 
> Directory directory = new Directory(getContext(), 
> LocalReference.createFileReference(new File("./")).getTargetRef()); 

This one doesn't compile, "The constructor Directory(Context, Reference)
is undefined"

Reply via email to