[Nodal-cvs] nodal/j-src/storage/http HttpRepository.java,1.17,1.18
Status: Pre-Alpha
Brought to you by:
leei
From: Lee I. <le...@us...> - 2005-01-04 18:21:48
|
Update of /cvsroot/nodal/nodal/j-src/storage/http In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16538/storage/http Modified Files: HttpRepository.java Log Message: Name changes in storage.framework for clarity. * SBNStreamServices -> SBNStreamLoader * SBNURLServices -> SBNURLLoader * etc. Index: HttpRepository.java =================================================================== RCS file: /cvsroot/nodal/nodal/j-src/storage/http/HttpRepository.java,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** HttpRepository.java 18 Nov 2004 23:29:18 -0000 1.17 --- HttpRepository.java 4 Jan 2005 18:20:53 -0000 1.18 *************** *** 25,29 **** import storage.framework.AbstractRepository; ! import storage.framework.SBNStreamServices; import storage.framework.StreamBasedNode; import storage.framework.TxnManager; --- 25,29 ---- import storage.framework.AbstractRepository; ! import storage.framework.SBNStreamLoader; import storage.framework.StreamBasedNode; import storage.framework.TxnManager; *************** *** 124,130 **** System.out.println(" : content-length: " + conn.getContentLength()); ! SBNStreamServices sbnServices = ! new SBNStreamServices (backend, abs, conn.getInputStream(), conn.getContentType()); ! return StreamBasedNode.createStreamDoc(sbnServices); } catch (IOException e) { return null; --- 124,130 ---- System.out.println(" : content-length: " + conn.getContentLength()); ! SBNStreamLoader sbnLoader = ! new SBNStreamLoader (backend, abs, conn.getInputStream(), conn.getContentType()); ! return StreamBasedNode.loadDocument(sbnLoader); } catch (IOException e) { return null; |