summaryrefslogtreecommitdiff
path: root/src/io/CompressableDataWriter.java
AgeCommit message (Collapse)AuthorFilesLines
2014-05-08CompressableDataWriter: fix corruption for cfilePeter Wu1-0/+4
2014-05-07Get rid of separate profilesPeter Wu1-3/+2
These are always available from the tweets themselves...
2014-05-03CompressableDataWriter: use separate .gz-suffixed filePeter Wu1-91/+72
Do not use the same name for compressed and uncompressed files, it is confusing and non-standard. Now it'll use a ".gz"-suffixed file, writing all changes from the uncompressed file if requested.
2014-05-03Display stats when converting an uncompressed filePeter Wu1-0/+18
2014-05-03More compression fixesPeter Wu1-9/+12
* Fix magic check (bytes are read as signed numbers...). * Assume that a file can be compressed if the file is too small. * Try to convert a file only if the gzip detection is correctly closed.
2014-05-02Fix compression move which actually lost some dataPeter Wu1-28/+21
rename tricks somehow failed, but apparently there is a reliable Files.move() operation. Add some more debugging messages.
2014-05-02DataWriter should not open files in constructorPeter Wu1-2/+6
Right now Store instances are created in the constructor of DataWriter. This causes issues, namely that Store instances are unable to use DataWriter in its constructor. The real-world implication is that convertUncompressed in CompressableDataWriter is unusable for the CompressedStore.
2014-05-02CompressableDataWriter: Implement conversion from uncompressedPeter Wu1-1/+64
2014-05-02Support compressed filesPeter Wu1-0/+88