[Nodal-cvs] nodal/j-src/storage/http HttpRepository.java,1.16,1.17
Status: Pre-Alpha
Brought to you by:
leei
From: Lee I. <le...@us...> - 2004-11-18 23:29:29
|
Update of /cvsroot/nodal/nodal/j-src/storage/http In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14856/storage/http Modified Files: HttpRepository.java Log Message: Add createAnchor() handling to AbstractRepository.AbstractBackend Properly handle creation of files via FileRepository Index: HttpRepository.java =================================================================== RCS file: /cvsroot/nodal/nodal/j-src/storage/http/HttpRepository.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** HttpRepository.java 16 Nov 2004 19:25:37 -0000 1.16 --- HttpRepository.java 18 Nov 2004 23:29:18 -0000 1.17 *************** *** 16,20 **** import org.nodal.filesystem.Document; - import org.nodal.model.AnchorNode; import org.nodal.model.Node; import org.nodal.model.NodeContent; --- 16,19 ---- *************** *** 26,30 **** import storage.framework.AbstractRepository; - import storage.framework.AnchorNodeImpl; import storage.framework.SBNStreamServices; import storage.framework.StreamBasedNode; --- 25,28 ---- *************** *** 66,77 **** return HttpNode.clone (HttpRepository.this, node, context); } - - public AnchorNode createAnchor (Path context, Path relative) { - return AnchorNodeImpl.createWithContext (relative, context); - } - - public AnchorNode createAnchor (Path absolute) { - return AnchorNodeImpl.create (absolute); - } /* (non-Javadoc) --- 64,67 ---- |