Introduction
Here is the source code for Main.java
Source
//package com.java2s;
public class Main {
public static String transformNULLToLine(String str) {
if (str == null || "".equals(str.trim()) || "null".equals(str.trim()))
return "-";
return str;
}
}