Index.xhtml file is: <?xml version="1.0" encoding="UTF-8" ?> ...
public interface IProcess {
...
Java Scan directory recurcively
by https://www.google.com/accounts/o8/id?id=AItOawn60BQ3j2wGqeAmwsTZFdMd0YURb5dAR2s,
December 14, 2010 10:08,
No refactoring, tagged with java, file, Directory, thread
I try to write classes to s...
(defn get-romname "Return bytes of ROM name" [filename] ...
Java Random access from file #cl...
Posted to java because I gu...
import java.util.Enumeration; ...
Java Simple String Splitter for ...
by https://www.google.com/accounts/o8/id?id=AItOawmbSmAnfuzMdjmvrzZsJpet_pTqQ2fjGdg,
October 16, 2010 11:30,
3 refactorings, tagged with java, blackberry
I have created this simple ...
public class Singleton {
// Private constructor prevents instantiation from other classes
private Singleton() {}
...
Java Laisy Singleton patern
There is a very important g...
public class Pseudonym<T extends Pseudo> {
private T alias;
private T original;
...
Java Limiting two arguments to t...
Hi, I just want to disallow...
private LinkedList<String> basePackages; private String getAttribute( Node node, String name ) ...
Java Get a package name or packa...
by https://www.google.com/accounts/o8/id?id=AItOawmcK8sVHybv2DEt4Muzx_2tJvN4hJIVK1s,
June 22, 2010 21:42,
1 refactoring, tagged with xml, java, dom
Figures out the current ful...
try {
conn = DBConnection.getDBConnection();
String SQL = "{call PACKAGE.PROCEDURE(?, ?)}";
...
Java Repetitive code to interact...
In my project, I do see lot...
a) Obj p = curScope.locals, last = null; ...
Java Linked list traversal, comp...
by maroloccio.blogspot.com,
February 24, 2010 18:11,
1 refactoring, tagged with java, linked-list, traversing
I got this:
a) // see be...
import javax.swing.JOptionPane;
public class Rational {
...
Java Rational numbers - Problem :/
by omygoodness.myopenid.com,
January 03, 2010 15:35,
1 refactoring, tagged with java, rational numbers, comparsions, less than or
Hi,
I have a problem with ...
private void schematronTransformation()
throws TransformerException {
TransformerFactory tf = TransformerFactory.newInstance();
...
Java Multiple XSLT for Schematro...
by DaJunkie,
October 09, 2009 10:39,
1 refactoring, tagged with validate, xml, java, sax, dom, jaxp, pipe, transform, xslt, schematron
I want to validate some XML...
/**
* Retrives the student line items for the reports, calculates avg and grades
* @param team the team line item object
...
ActionScript Can anyone please refactor ...
At work I was told to optim...
public void draw()
{
switch(direction)
...
Java Snake Game Logic?
by gmaster1440.myopenid.com,
May 25, 2009 02:55,
2 refactorings, tagged with java, game, snake game, snake, logic, timer, pause
I'm having a lot of trouble...
public static String findsite(InputStream text) {
String site, line = null;
Boolean nospace = true;
...
Java speed up this horrendous co...
I don't know too much about...
public static Matrices add(Matrices a, Matrices b)
{
int rows = a.getRows();
...
Java Conditional operator refact...
I want to modify this code ...
package engine; import junit.framework.Assert; ...
Java Refactor, fix and optimize ...
by programmer-offsite,
April 20, 2009 14:15,
5 refactorings, tagged with java, refactor, strings, character, optimize
While tuning the applicatio...
# Jhippo.java package Jhippo; ...
Java Jhippo
by tak11.myopenid.com,
December 16, 2008 04:14,
No refactoring, tagged with swing, java, irc, bot, pircbot, gui
Java irc bot using Pircbot....
import java.io.BufferedOutputStream; import java.io.FileOutputStream; import java.io.IOException; ...
Java Read/download images from a...
Hi guys,
This code downloa...
public static String getRelativePath(File file, File relativeTo) throws IOException {
/*
* windows seems in some cases not to stop getParent() at 'c:\', which I
...
Java get path of a File relative...
I call:
File f = new File(...
public static boolean fileContentsEquals(File file1, File file2) {
InputStream is1 = null;
InputStream is2 = null;
...
Java fileContentsEquals
This method checks if the c...
/** * Get the article destined for the front page ...
Java Closing database connection...
by junkyjunk,
July 31, 2008 02:35,
4 refactorings, tagged with java, database, javabeans, database leak
I am making a blog for fun ...
public abstract class I18NException extends Exception {
public enum Message implements ExceptionMessage {
...
Java Internationalize Exceptions
This is a template for Exce...
I need to show in a xhtml w...