Convert FODS to TXT via Java
FODS to TXT Java conversion to convert single or multiple pages to TXT using On-premise Java library.
How to Convert FODS to TXT Using Java
In order to render FODS to TXT, we will use Aspose.Cells for Java API which is a feature-rich, powerful and easy to use conversion API for Java platform. You can download its latest version directly from Maven and install it within your Maven-based project by adding the following configurations to the pom.xml.
<repository> <id>AsposeJavaAPI</id> <name>Aspose Java API</name> <url>https://repository.aspose.com/repo/</url> </repository>
<dependency> <groupId>com.aspose</groupId> <artifactId>aspose-cells</artifactId> <version>version of aspose-cells API</version> <classifier>jdk17</classifier> </dependency>
Steps to Convert FODS to TXT via Java
Java developers can easily convert FODS file to TXT in just a few lines of code.
- Load FODS file with an instance of Workbook class
- Call Workbook.save method
- Pass output path with TXT extension as parameter
- Check specified path for resultant TXT file
Before running the Java conversion source code, make sure that you have the following prerequisites.
- Microsoft Windows or a compatible OS with Java Runtime Environment for JSP/JSF Application and Desktop Applications.
- Get latest version of Aspose.Cells for Java directly from Maven.
Java Spreadsheet Manipulation LibraryExcel API can be used to create, edit, convert and render Microsoft Excel formats to different formats. Moreover, it can be used for comprehensive charting, scalable reporting and reliable calculations within software applications. Aspose.Cells is a standalone API and it does not require any software like Microsoft or OpenOffice.
FODS What is FODS File Format
A file with .fods extension is a type of OpenDocument Spreadsheet document format that stores data in rows and columns. The format is specified as part of ODF 1.2 specifications published and maintained by OASIS. FODS files cannot be opened with Excel, another Spreadsheet software application by Microsoft. FODS files can be saved as ODS using LibreOffice and can be converted to other formats such as XLS and XLSX.Read More
TXT What is TXT File Format
A file with .TXT extension represents a text document that contains plain text in the form of lines. Paragraphs in a text document are recognized by carriage returns and are used for better arrangement of file contents. A standard text document can be opened in any text editor or word processing application on different operating systems. All the text contained in such a file is in human-readable format and represented by sequence of characters.Read More
Other Supported Conversions
You can also convert FODS into many other file formats including few listed below.