That wouldn't be so bad, but what's the problem that will solve?  Is it for
curnit previewing?  Because that takes a marshalling cycle and the
previewRootPod() method is taking care of that now.

If there's not a specific use case that benefits from the range, I'd rather
avoid it.


On 4/24/07, Anthony Perritano <[EMAIL PROTECTED]> wrote:
>
> i have a proposed api change:
>
>     /**
>      * Write to the output stream a curnit archive of a curnit with the
>      * specified curnit id, title and root pod
>      *
>      * @return
>      * @throws Exception
>      */
>     public static void writeCurnit(CurnitUuid curnitId, String
> curnitTitle,
>             Pod rootPod, OutputStream out) throws Exception {
>         Curnit curnit = new Curnit();
>         curnit.setCurnitId (curnitId);
>         curnit.setTitle(curnitTitle);
>         curnit.setRootPodId(rootPod.getPodId());
>         CurnitArchive.writeArchive(curnit, out);
>         System.out.println("wrote curnit with this pod tree:");
>         SailBeanUtils.printTree(System.out, 0, rootPod);
>     }
>
> why not have it return the Curnit or the archive when its done writing it?
>
> so:
>
> public static Curnit writeCurnit(CurnitUuid curnitId, String curnitTitle,
>             Pod rootPod, OutputStream out) throws Exception {
>
> -Tony
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SAIL-Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/SAIL-Dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to