Navigation Home / Tags / Java

ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

« Previous 1 2 3 4 5 6 7 8 Next »
2
Date Submitted Mon. Jun. 9th, 2008 7:06 PM
Revision 1
Beginner vertxch
Tags DB | Java | JDBC | postgresql
Comments 0 comments
Conexion de una base de datos de PostgreSql 8.2 a Java
-9
Date Submitted Wed. Oct. 11th, 2006 6:57 AM
Revision 1
Beginner toriwells
Tags criptography | divertimento | Java
Comments 1 comments
Classe que donada una frase té com a sortida la mateixa frase però havent-li aplicat la xifra del cèsar (per defecte amb valor 3).
-8
Date Submitted Wed. Oct. 11th, 2006 7:04 AM
Revision 1
Beginner toriwells
Tags criptography | divertimento | Java
Comments 1 comments
Classe que pren una frase i una clau i obté com a sortida el missatge encriptat usant l'algorisme de Vigenère.
5
Date Submitted Wed. Oct. 11th, 2006 7:15 AM
Revision 1
Beginner toriwells
Tags com | Date | Java
Comments 0 comments
This function returns a Date object being set at 12 A.M. It is useful for comparing dates where you don't know if they'll come set at the beginning of the day or not.
5
Date Submitted Tue. Feb. 14th, 2006 4:59 AM
Revision 1
Scripter TimYates
Tags Arrow | Graphics | Java | Line
Comments 0 comments
Draws a line (with arrow head) between two given points.
6
Date Submitted Fri. Feb. 17th, 2006 8:54 AM
Revision 1
Scripter TimYates
Tags Java
Comments 1 comments
More often than not, if your trying to work out what's going wrong with your subclass of InputStream, why the character encoding is getting lost in your database, or your file format reader is failing, you'll need to dump a byte buffer out in a useable form.

Here's two methods, one which appends to a StringBuffer, one which simply prints out to System.out

Tim.

(NB: The line: sb.append( "n" ) ; SHOULD have a leading slash ie: sb.append( "\n" ) ; but the formatter seems to remove it...
13
Date Submitted Thu. Mar. 9th, 2006 4:02 AM
Revision 1
Scripter TimYates
Tags Java | String | Word
Comments 1 comments
If you have ever written a website or java application where people paste stuff in from Word, you are likely to have hit the problem of Word using high ascii chars for "open quotes", "close quotes", reg symbol, etc...

This java class (with a single static method) can replace the most prevalent of these with normal ascii values

Hope it helps someone...
9
Date Submitted Thu. Mar. 16th, 2006 6:44 PM
Revision 1
Helper Snyke
Tags debugging | Java | log4j | logging | Output
Comments 0 comments
Log4J is a really nice Library that aims to facilitate outputting debugging information, but also relevant data, in Java applications. It is highly configurable, using both Categories and Class-Based rules, so that developers can narrow down the problems very well when debugging applications.
8
Date Submitted Sat. Oct. 28th, 2006 3:00 PM
Revision 1
Scripter SCoon
Tags Java | Password
Comments 0 comments
7
Date Submitted Sat. Oct. 28th, 2006 6:03 PM
Revision 1
Scripter SCoon
Tags "Command Line" | Java | Reflection
Comments 0 comments
This class uses reflection to locate option setters. Client class must contains methods setFile (to receive file names from the command line) and setOption### (to receive option ###).

(See also adapter-based implementation)
« Previous 1 2 3 4 5 6 7 8 Next »