got it, thanks Stefan
On Tue, Mar 29, 2011 at 9:05 PM, Stefan Bodewig wrote:
> On 2011-03-30, Alexander Gubin wrote:
>
>> Does commons-compress support appending to compressed files?
>
> In general the compression formats don't support appending.
>
> Many algorithms are block based (bzip is one)
On 2011-03-30, Alexander Gubin wrote:
> Does commons-compress support appending to compressed files?
In general the compression formats don't support appending.
Many algorithms are block based (bzip is one) and if your original
data's length isn't an exact multiple of the block size (which in
ge
Hi,
Does commons-compress support appending to compressed files?
E.g. if I start my stream as following:
FileOutputStream out2 = new FileOutputStream(output2, true); //append
if file exists
CompressorOutputStream cos2 = new
CompressorStreamFactory().createCompressorOutputStream("bzip2", out2);
On 29 March 2011 23:21, Abraham Saiovici wrote:
> Hello, I just started using the Apache DBCP API and this is the error that
> spits out (along with the code): http://pastebin.com/GAKbDXyw- it's beeing
> interrupted in the WHEN_EXHAUSTED_BLOCK in the
> GenericObjectPool.borrowObject function. I do
Hello, I just started using the Apache DBCP API and this is the error
that spits out (along with the code): http://pastebin.com/GAKbDXyw- it's
beeing interrupted in the WHEN_EXHAUSTED_BLOCK in the
GenericObjectPool.borrowObject function. I do call connection.close() on
the connections received
Matt, thanks for the idea. Unfortunately, my mileage did vary. I wrapped the
map in a
public class Container {
Object o;
public Object getO() {
return o;
}
public void setO(Object o) {
this.o = o;
}
}
and '@name', 'o/@name', etc. didn't work
IIRC, JXPa
On Tue, Mar 29, 2011 at 10:13 AM, wrote:
> I am using a thirdparty library that is handing me a map. I have been using
> jxpath to fish values out of nested structures in the map values but now
> I need to know the map *key* values. I know how to get the *entries*, but the
> finding out th
I am using a thirdparty library that is handing me a map. I have been using
jxpath to fish values out of nested structures in the map values but now I
need to know the map *key* values. I know how to get the *entries*, but the
finding out the keys from jxpath eludes me.
public void jxpathM
The Commons Codec team is pleased to announce the commons-codec-1.5 release!
The codec package contains simple encoder and decoders for various formats
such as Base64 and Hexadecimal. In addition to thes widely used encoders
and decoders, the codec package also maintains acollection of phonetic
e
Hi Patrick,
I'd say: it depends! I don't know the domain you're working on, I'd
say once you import the XML into Lucene index you don't need the XML
anymore.
Do you need data have to be persisted to be reused in a second time?
So use a DB.
Do you need analyze documents just to populate the Lucene
hey Simone,
I was now wondering if isn't better to import my xml doc in a database and
working with mysql.
I guess it is faster to scan a mysql database with java rather than a xml
doc, what do you think ?
I'm using Digester combined with Apache Lucene to perform queries (all
together they are 6
11 matches
Mail list logo