This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.google.common.base.Splitter; | |
import org.apache.commons.lang.RandomStringUtils; | |
import org.apache.commons.lang.math.RandomUtils; | |
import org.apache.commons.lang3.StringUtils; | |
import org.junit.AfterClass; | |
import org.junit.BeforeClass; | |
import org.junit.Test; | |
import org.springframework.util.StopWatch; | |
import java.util.Iterator; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package bausteine; | |
import com.google.common.base.Splitter; | |
import org.apache.commons.lang.RandomStringUtils; | |
import org.junit.AfterClass; | |
import org.junit.BeforeClass; | |
import org.junit.Test; | |
import org.springframework.util.StopWatch; | |
import org.springframework.util.StringUtils; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.seitenbau.demo.systemtest; | |
import static com.seitenbau.assertions.Assertions.assertThat; | |
import javax.inject.Inject; | |
import org.junit.Test; | |
interface WorkDelegate<T> { | |
void doWork(T target); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CsvSplit | |
{ | |
public static void main(String[] args) throws Exception | |
{ | |
FileWriter out = new FileWriter("output.csv"); | |
BufferedReader in = new BufferedReader(new FileReader("input.csv")); | |
String line; | |
while ((line = in.readLine()) != null) | |
{ | |
String[] fields = line.split(";"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.File; | |
import java.io.FileNotFoundException; | |
import java.io.FileOutputStream; | |
import com.sun.javadoc.*; | |
import com.thoughtworks.xstream.XStream; | |
public class DocDoclet { | |
private static final String DOCU_XML_FILE = "docu.xml"; |