Java-TEXT-CSV

Java TEXT CSV

A focused Java learning repository containing examples and technical notes.

Repository Context

Item Details
Project type Learning project
Technologies Java
Primary focus Backend engineering fundamentals and practical experimentation
Status Historical learning project.

What This Repository Demonstrates

Getting Started

Review the source files and compile the relevant example with a compatible JDK.

Key contents

Asposetxt.java, Home.md

Portfolio Note

This repository is part of my earlier learning and experimentation archive. My current professional focus is Java, Spring Boot, microservices, REST APIs, Kafka, cloud-native engineering, and banking technology. See my GitHub profile for current positioning and featured work.


Original Documentation

Write Java pojos to Text File:

          PrintWriter pw = new PrintWriter("F:\\starwalt\\ava aspose jars\\text.txt");  //to write in text

          PrintWriter pw = new PrintWriter("F:\\starwalt\\ava aspose jars\\text.csv");   // to write in csv

          StringBuilder csvcontact = new StringBuilder();

          csvcontact.append("so");
          csvcontact.append("bookname");
          csvcontact.append("category");
          csvcontact.append("\r\n");


          csvcontact.append("1");
          csvcontact.append("bookname 1");
          csvcontact.append("sandy");
          csvcontact.append("\r\n");


          csvcontact.append("2");
          csvcontact.append("bookname 2");
          csvcontact.append("sandy");
          csvcontact.append("\r\n");

          csvcontact.append("3");
          csvcontact.append("bookname 3");
          csvcontact.append("kumar");
          csvcontact.append("\r\n");

          pw.write(csvcontact.toString());
          pw.close();

TO DO in FORMAT:

csvFile - word - PDF- word - PPT:

            location
            filename
            csvcontent - stringbuilder

To Download in HTML:

        <p>Click on the image to download it:<p>
            <a href="F:\starwalt\ava aspose jars\text.txt" download>
            <img src="F:\starwalt\resale\images\1.jpg" alt="test" width="104" height="142">
          </a></p>

Follow us on Blog