Hi Neela, sorry for late response. Although Slide currently does not support deltas, this is an issue we are going to address a bit later. Currently we concentrating on the implementation of the DeltaV specification.
Regards, Peter > -----Original Message----- > From: Datta, Neela [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 21, 2002 00:48 > To: '[EMAIL PROTECTED]' > Subject: Versioned text files in Slide does not store deltas???( I am > not using WebDAV but plain slide API) > > > I was wondering how I could store only deltas of a text > document when I use > filecontentstore( on the file system). > > I want to make sure, as the way I am doing it seems to be > storing the whole > content in a separate file. The following code creates > /files/test_1.0.txt > and /files/test_1.1txt with the whole text and not the > delta. I am trying > to store the following character array: > > First version - "This is NodeRevisionContent Rev. 1.0" > Second version - "This is NodeRevisionContent Rev. 2.0" > > > > // Now creating some revisions > NodeRevisionDescriptor revisionDescriptor = > new NodeRevisionDescriptor(0); > > NodeRevisionContent rc = new NodeRevisionContent(); > //rc.setContent("This is NodeRevisionContent Rev. > 1.0".toCharArray()); > String tmp = "This is NodeRevisionContent Rev. 1.0"; > rc.setContent(tmp.toCharArray()); > > token.begin(); > > revisionDescriptor.setProperty("revision", "1"); > > revisionDescriptor.setContentLength(tmp.length()); > > content.create(slideToken, "/test", > revisionDescriptor, rc); > > revisionDescriptor.setProperty("revision", "2"); > > String tmp1 = "This is NodeRevisionContent Rev. 2.0"; > revisionDescriptor.setContentLength(tmp1.length()); > NodeRevisionContent rc1 = new NodeRevisionContent(); > rc1.setContent(tmp1.toCharArray()); > > content.create(slideToken, "/test", > "main",revisionDescriptor, > rc1); > > > --Neela > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
