Compress CSV File Online or using Android App
Develop powerful android based CSV document compression applications. Freely compress various documents including CSV files online via app with instant download.
Compress and Optimize CSV Files Online
- Upload CSV files to compress and optimize.
- Choose the Compression Level (Low, Medium or High)
- Click the “Compress” button.
- Download the compressed CSV file.
- View and get the result of compression by checking its size and content quality.
Compress CSV File via Android App
- Add reference into your Java Project
- Load the document via Workbook class
- There are 9 levels of compression
- LEVEL_1 to LEVEL_9, Use the relevant one
- Call save method and get the compressed CSV file
Java Code : Compress CSV Files
Workbook workbook = new Workbook(sourceDir + "LargeSampleFile.xlsx"); | |
XlsbSaveOptions options = new XlsbSaveOptions(); | |
options.setCompressionType(OoxmlCompressionType.LEVEL_1); | |
long startTime = System.nanoTime(); | |
workbook.save(outDir + "LargeSampleFile_level_1_out.xlsb", options); | |
long endTime = System.nanoTime(); | |
long timeElapsed = endTime - startTime; | |
System.out.println("Level 1 Elapsed Time: " + timeElapsed / 1000000); | |
startTime = System.nanoTime(); | |
options.setCompressionType(OoxmlCompressionType.LEVEL_6); | |
workbook.save(outDir + "LargeSampleFile_level_6_out.xlsb", options); | |
endTime = System.nanoTime(); | |
timeElapsed = endTime - startTime; | |
System.out.println("Level 6 Elapsed Time: " + timeElapsed / 1000000); | |
startTime = System.nanoTime(); | |
options.setCompressionType(OoxmlCompressionType.LEVEL_9); | |
workbook.save(outDir + "LargeSampleFile_level_9_out.xlsb", options); | |
endTime = System.nanoTime(); | |
timeElapsed = endTime - startTime; | |
System.out.println("Level 9 Elapsed Time: " + timeElapsed / 1000000); |
Develop CSV File Compression Application for Android
Need to develop android script or utility app to easily compress multiple CSV files? With
Aspose.Cells for Android via Java
, child API of
Aspose.Total for Android via Java
, any android developer can integrate the above API code to program compression app across documents. Powerful android library for document compression supports many popular formats including CSV format.
Android Compression Library for CSV Files
- We host our Java packages in Maven repositories .
- Aspose.Cells for Java is a common JAR file containing byte-code.
- Follow the step-by-step instructions on how to install Aspose.Cells for Android via Java.
System Requirements
- Android OS 2.0 or above.
- Java package is cross-platform and runs on all operating systems with JVM implementation.
For more details please refer to [Product Documentation](https://docs.aspose.com/cells/java/system-requirements/).