a grand renaming so that the most significant portion of the name comes first

This commit is contained in:
Dan Buch
2012-03-03 21:45:20 -05:00
parent c8b8078175
commit f4f448926d
1300 changed files with 0 additions and 234 deletions

View File

@@ -0,0 +1,14 @@
package com.meatballhat.learningjava;
import java.io.IOException;
public final class CleanPipe {
public static void main(String[] argv) throws IOException {
int c;
while((c = System.in.read()) != -1) {
System.out.write(c);
}
}
}

View File

@@ -0,0 +1,9 @@
package com.meatballhat.learningjava;
public class HelloSir {
public static void main(String[] argv) {
System.out.println("OMG Hi Der");
}
}

View File

@@ -0,0 +1,32 @@
package com.meatballhat.learningjava;
import java.io.FileInputStream;
import java.util.Properties;
public class ShowProps {
public static String USAGE = "Usage: ShowProps <properties-file>";
public static void main(String[] args)
{
try {
if (args.length >= 1) {
FileInputStream instream = new FileInputStream(args[0]);
Properties props = new Properties();
props.load(instream);
instream.close();
props.list(System.out);
} else {
System.out.println(USAGE);
return;
}
} catch (Exception e) {
System.out.println("OMG FAIL");
e.printStackTrace();
}
}
}