This file contains hidden or 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.khotyn.test; | |
import java.io.InputStream; | |
/** | |
* Read a file from the classpath without using any third party library. | |
* | |
* @author khotyn 2011-12-1 下午5:03:21 | |
*/ | |
public class ReadFromClasspath { |
This file contains hidden or 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 ThisEscape { | |
public static Escape escape; | |
public static void main(String[] args) throws InterruptedException { | |
new Thread(new Runnable() { | |
@Override | |
public void run() { | |
try { | |
new ThisEscape().test(); |
This file contains hidden or 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.khotyn.test; | |
/** | |
* Quick Test | |
* | |
* @author khotyn 2011-11-29 上午9:34:25 | |
*/ | |
public class Test { | |
public static void main(String[] args) { |
This file contains hidden or 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
java -jar rej.jar |
NewerOlder