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.zeroleaf.util; | |
import java.io.*; | |
/** | |
* User: zeroleaf | |
* Date: 13-10-4 | |
* Time: 14:11 | |
* | |
* Generate a binary file (in a byte array) from regular file.<br/> |
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.zeroleaf.util; | |
import java.io.FileInputStream; | |
import java.io.IOException; | |
import java.security.DigestInputStream; | |
import java.security.MessageDigest; | |
import java.security.NoSuchAlgorithmException; | |
/** | |
* User: zeroleaf |
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.zeroleaf.util.Print; | |
/** | |
* User: zeroleaf | |
* Date: 13-9-30 | |
* Time: 12:13 | |
* | |
* A class that demonstrate get the unicode code of a character | |
* and encode a unicode code to a character. | |
*/ |
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.sql.*; | |
public class SqlManipulation | |
{ | |
private Connection conn; | |
public SqlManipulation() | |
{ | |
} |