xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Elliotte Harold <elharo AT metalab.unc.edu>
- To: John Cowan <cowan AT ccil.org>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] XOM and Large Files
- Date: Wed, 26 Jul 2006 15:22:18 -0400
John Cowan wrote:
TagSoup attempts to be smart about this: it examines the InputStream
to see if it is an instanceof BufferedInputStream, and only if it isn't
does TagSoup bother wrapping it. The same is done with a Reader.
I've considered doing something like that in XOM. The problem is you can be passed something that isn't a BufferedInputStream but is chained to one. For instance, a GZipInputStream chained to a BufferedInputStream chained to a FileInputStream. Then you end up with double buffering for no good reason.
--
Elliotte Rusty Harold elharo AT metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/
-
Re: [XOM-interest] XOM and Large Files
, (continued)
-
Re: [XOM-interest] XOM and Large Files,
Mike Colbert, 07/26/2006
-
Re: [XOM-interest] XOM and Large Files,
Elliotte Harold, 07/26/2006
-
Re: [XOM-interest] XOM and Large Files,
Mike Colbert, 07/26/2006
-
Re: [XOM-interest] XOM and Large Files,
Michael Kay, 07/26/2006
- Re: [XOM-interest] XOM and Large Files, Mike Colbert, 07/26/2006
-
Re: [XOM-interest] XOM and Large Files,
Mike Colbert, 07/26/2006
-
Re: [XOM-interest] XOM and Large Files,
Mike Colbert, 07/26/2006
- Re: [XOM-interest] XOM and Large Files, Elliotte Harold, 07/26/2006
-
Re: [XOM-interest] XOM and Large Files,
Mike Colbert, 07/26/2006
-
Re: [XOM-interest] XOM and Large Files,
Tatu Saloranta, 07/26/2006
-
Re: [XOM-interest] XOM and Large Files,
John Cowan, 07/26/2006
- Re: [XOM-interest] XOM and Large Files, Elliotte Harold, 07/26/2006
- Re: [XOM-interest] XOM and Large Files, John Cowan, 07/26/2006
- Re: [XOM-interest] XOM and Large Files, John Cowan, 07/26/2006
- Re: [XOM-interest] XOM and Large Files, Mike Colbert, 07/26/2006
-
Re: [XOM-interest] XOM and Large Files,
John Cowan, 07/26/2006
-
Re: [XOM-interest] XOM and Large Files,
Michael Kay, 07/26/2006
- Re: [XOM-interest] XOM and Large Files, Wolfgang Hoschek, 07/26/2006
- Re: [XOM-interest] XOM and Large Files, Tatu Saloranta, 07/26/2006
- Re: [XOM-interest] XOM and Large Files, Mike Colbert, 07/27/2006
- Re: [XOM-interest] XOM and Large Files, John Cowan, 07/27/2006
-
Re: [XOM-interest] XOM and Large Files,
Mike Colbert, 07/26/2006
-
Re: [XOM-interest] XOM and Large Files,
Elliotte Harold, 07/26/2006
-
Re: [XOM-interest] XOM and Large Files,
Mike Colbert, 07/26/2006
Archive powered by MHonArc 2.6.24.