Welcome To Snipplr


Everyone's Recent Java Snippets



К этому моменту у вас уже должно быть достаточно знаний, чтобы сериализовать объект. Но как работает этот механизм? Алгоритм сериализаци...
0 258 posted 12 years ago by beresovskiy
i love those ternary expressions, they really make things clear, don't they? found in org.eclipse.jface.action.Action
0 225 posted 12 years ago by guetux
just a comment
0 321 posted 12 years ago by daywalker2000
Tags: C3P0, datasource, spring, database, java
1 990 posted 12 years ago by mahome
0 251 posted 12 years ago by resurge
1 417 posted 12 years ago by walokra
Save an image to the media library on android
1 657 posted 12 years ago by abwaters
This is the default Mail-Config file mail-service.xml by JBoss with the additional line for authentication.
0 363 posted 12 years ago by mahome
Simple Mail Example. Tags: SMTP, Mail, Java [JavaMail (Sun)](http://java.sun.com/products/javamail/) [JavaMail (Galileo)](http://openbook.galileocomputing.de/javainsel8/javainsel_18_012.htm#mj2a4110a634c82a3f676d8f87a50d6567)
1 395 posted 12 years ago by mahome
Technique for launching android market with specific search terms.
0 379 posted 12 years ago by abwaters
Connects to a web page, reads in the content and strips whitespace.
2 418 posted 12 years ago by gdvickery
The attached article is also actually very funny.
0 323 posted 12 years ago by monkey103
Running a btrace script takes two separate steps by default: 1. Running jps to get the Java process ID. 2. Running btrace on the ID. A simple awk script can merge the two into a single step.
0 318 posted 12 years ago by narkisr
Some java application do not get focus or have strange behaviours under no standard Window Managers like Awesome.
0 279 posted 13 years ago by escalant3
An immutable (a new object is created for each change) Java class builder pattern example.
0 337 posted 13 years ago by narkisr
The returned file will either contain the folder from where your program is running or the executable jar file, if your program is an executable jar. I'm using `Main.class` because this code is in my main method (which is in the class 'Main'). You...
0 308 posted 13 years ago by resurge
Proyecto Lista
0 252 posted 13 years ago by bedomax