Java CSV String Escape CSVFormat(String data)

Here you can find the source of CSVFormat(String data)

Description

CSV Format

License

Open Source License

Declaration

public static String CSVFormat(String data) 

Method Source Code

//package com.java2s;

public class Main {
    public static String CSVFormat(String data) {
        return "\"" + data + "\", ";
    }// w w  w  .  j ava  2s .  co m

    public static String CSVFormat(int data) {
        return data + ",";
    }
}

Related

  1. csvEscape(String str)
  2. csvEscapeXML(String value)
  3. csvFormat(Object... obj)