java Programming Glossary: javadocs
When it comes to regex, what is the difference between `Greedy` and `Reluctant` quantifiers? http://stackoverflow.com/questions/1139171/when-it-comes-to-regex-what-is-the-difference-between-greedy-and-reluctant `Greedy` and `Reluctant` quantifiers From the Pattern javadocs Greedy quantifiers X X once or not at all X X zero or more times..
How do I set the proxy to be used by the JVM http://stackoverflow.com/questions/120797/how-do-i-set-the-proxy-to-be-used-by-the-jvm the vendor. Many developers are familiar with the Java API javadocs but many times the rest of the documentation is overlooked...
Is there a Java reflection utility to do a deep comparison of two objects? http://stackoverflow.com/questions/1449001/is-there-a-java-reflection-utility-to-do-a-deep-comparison-of-two-objects here http commons.apache.org proper commons lang javadocs api 3.1 org apache commons lang3 builder EqualsBuilder.html..
Should new projects use logback instead of log4j? [closed] http://stackoverflow.com/questions/178836/should-new-projects-use-logback-instead-of-log4j logging frameworks are. Bridging jul is explained in the javadocs of SLF4JBridgeHandler. I've had a very good experience using..
get source jars from maven repository http://stackoverflow.com/questions/2059431/get-source-jars-from-maven-repository
How to use GWT 2.1 Data Presentation Widgets http://stackoverflow.com/questions/2891803/how-to-use-gwt-2-1-data-presentation-widgets improve this question Google I O 2010 GWT's UI overhaul javadocs package com.google.gwt.cell.client in 2.1 Eclipse update site..
Send email using java http://stackoverflow.com/questions/3649014/send-email-using-java the QUIT command. ref http java.sun.com products javamail javadocs com sun mail smtp package summary.html http forum.java.sun.com..
Howto get rid of <mvc:annotation-driven />? http://stackoverflow.com/questions/3693397/howto-get-rid-of-mvcannotation-driven customize each bean defined by mvc annotation driven . The javadocs now details all beans the tag registers. If you really want..
IllegalArgumentException or NullPointerException for a null parameter? http://stackoverflow.com/questions/3881/illegalargumentexception-or-nullpointerexception-for-a-null-parameter or a NullPointerException From the javadocs both seem appropriate. Is there some kind of an understood standard..
How to ensure hashCode() is consistent with equals()? http://stackoverflow.com/questions/410236/how-to-ensure-hashcode-is-consistent-with-equals overriding the equals function of java.lang.Object the javadocs suggest that it is generally necessary to override the hashCode..
How to scale a BufferedImage http://stackoverflow.com/questions/4216123/how-to-scale-a-bufferedimage to scale a BufferedImage Following the javadocs I have tried to scale a BufferedImage without success here is..
How to reference javadocs to dependencies in Maven's eclipse plugin when javadoc not attached to dependency http://stackoverflow.com/questions/44396/how-to-reference-javadocs-to-dependencies-in-mavens-eclipse-plugin-when-javadoc to reference javadocs to dependencies in Maven's eclipse plugin when javadoc not attached.. repo as a proxy to central you could also deploy the javadocs to that repo and then everyone else who uses that proxy will..
URLEncoder not able to translate space character http://stackoverflow.com/questions/4737841/urlencoder-not-able-to-translate-space-character for how to encode URLs in HTML forms. From the javadocs This class contains static methods for converting a String to..
Convert HTML Character Back to Text Using Java Standard Library http://stackoverflow.com/questions/599634/convert-html-character-back-to-text-using-java-standard-library for. See http commons.apache.org proper commons lang javadocs api 3.1 org apache commons lang3 StringEscapeUtils.html . share..
JDK on OSX 10.7 Lion http://stackoverflow.com/questions/6614380/jdk-on-osx-10-7-lion such as Eclipse being unable to locate source code and javadocs. At the time of writing the JDK ended up here Library Java JavaVirtualMachines.. System JDK from the list You can now develop normally with javadocs correctly shown for base classes source code correctly shown..
How to send java.util.logging to log4j? http://stackoverflow.com/questions/869945/how-to-send-java-util-logging-to-log4j set up for any logging coming from ehcache Looking at the javadocs for JUL it looks like I could set up a bunch of environment..
Java: SortedMap, TreeMap, Comparable? How to use? http://stackoverflow.com/questions/1440006/java-sortedmap-treemap-comparable-how-to-use class into the constructor. Yes according to the TreeMap Javadocs . Edit On re reading the question none of this makes sense...
How to get the ThreadPoolExecutor to increase threads to max before queueing? http://stackoverflow.com/questions/19528304/how-to-get-the-threadpoolexecutor-to-increase-threads-to-max-before-queueing thread pools so many of us use. To quote from the Javadocs If there are more than corePoolSize but less than maximumPoolSize..
Equivalent of DateTime.Now in Java? http://stackoverflow.com/questions/2010284/equivalent-of-datetime-now-in-java import java.util.Date Date d new Date In the words of the Javadocs for the zero argument constructor Allocates a Date object and..
get source jars from maven repository http://stackoverflow.com/questions/2059431/get-source-jars-from-maven-repository improve this question Maven Micro Tip Get sources and Javadocs When you're using Maven in an IDE you often find the need for.. find the need for your IDE to resolve source code and Javadocs for your library dependencies. There's an easy way to accomplish.. pom file. The second command will attempt to download the Javadocs. Maven is at the mercy of the library packagers here. So some..
I/O concept flush vs sync http://stackoverflow.com/questions/4072878/i-o-concept-flush-vs-sync buffered data is written out. However according to the Javadocs If the intended destination of this stream is an abstraction..
In Java, how do I find the caller of a method using stacktrace or reflection? http://stackoverflow.com/questions/421280/in-java-how-do-i-find-the-caller-of-a-method-using-stacktrace-or-reflection Thread.currentThread .getStackTrace According to the Javadocs The last element of the array represents the bottom of the stack..
What do < and > mean such as implements Comparable<BigInteger>? http://stackoverflow.com/questions/450520/what-do-and-mean-such-as-implements-comparablebiginteger little more clarification in this case have a look at the Javadocs for Comparable in 1.5. Note that it is declared as Comparable..
Java ReentrantReadWriteLocks - how to safely acquire write lock? http://stackoverflow.com/questions/464784/java-reentrantreadwritelocks-how-to-safely-acquire-write-lock cannot elevate a read lock to a write lock so as per the Javadocs one must release the read lock before obtaining the write lock... we need to write so try to escalate the lock as per the Javadocs and the above description lock.getReadLock .unlock Does not..
Why doesn't more Java code use PipedInputStream / PipedOutputStream? http://stackoverflow.com/questions/484119/why-doesnt-more-java-code-use-pipedinputstream-pipedoutputstream concurrency pipes share improve this question From the Javadocs Typically data is read from a PipedInputStream object by one..
How do I address unchecked cast warnings? http://stackoverflow.com/questions/509076/how-do-i-address-unchecked-cast-warnings of the @SuppressWarnings annotation. According to its Javadocs it can go on local variables this way it doesn't even affect..
HTTP POST using JSON in Java http://stackoverflow.com/questions/7181534/http-post-using-json-in-java POST I also can't seem to find a POST method in the JSON Javadocs. java json http post request share improve this question..
How to use URLClassLoader to load a *.class file? http://stackoverflow.com/questions/738393/how-to-use-urlclassloader-to-load-a-class-file java reflection share improve this question From the Javadocs for the URLClassLoader URL constructor Constructs a new URLClassLoader..
How do I put a Java app in the system tray? http://stackoverflow.com/questions/758083/how-do-i-put-a-java-app-in-the-system-tray classes. SystemTray has a pretty extensive example in its Javadocs TrayIcon trayIcon null if SystemTray.isSupported get the SystemTray..
How do I convert a String to Double in Java using a specific locale? http://stackoverflow.com/questions/888088/how-do-i-convert-a-string-to-double-in-java-using-a-specific-locale this question Try java.text.NumberFormat . From the Javadocs To format a number for a different Locale specify it in the.. purpose instance of NumberFormat was being used per the Javadocs for getInstance it would always return a Double . But DJClayworth.. return a Double . But DJClayworth points out that the Javadocs for parse String ParsePosition which is called by parse String..
ActionListener for JLabel http://stackoverflow.com/questions/13866839/actionlistener-for-jlabel fall back methods are used for sandboxed apps see the JavaDocs for further details . While called a 'label' this class actually..
java swingworker thread to update main Gui http://stackoverflow.com/questions/16937997/java-swingworker-thread-to-update-main-gui this question There is an excellent example from the JavaDocs class PrimeNumbersTask extends SwingWorker List Integer Integer..
How do I set a JLabel's background color? http://stackoverflow.com/questions/2380314/how-do-i-set-a-jlabels-background-color since the default of opaque is false for JLabel . From the JavaDocs If true the component paints every pixel within its bounds...
How to get a Token from a Lucene TokenStream? http://stackoverflow.com/questions/2638200/how-to-get-a-token-from-a-lucene-tokenstream The worst part is that I'm looking at the comments in the JavaDocs that address my question. http lucene.apache.org java 3_0_1..
How do I stop stacktraces truncating in logs http://stackoverflow.com/questions/437756/how-do-i-stop-stacktraces-truncating-in-logs full stacktrace showing i.e. show the other 113 lines The JavaDocs for Java 7 for Throwable have a pretty detailed explanation..
Combine multiple Collections into a single logical Collection? http://stackoverflow.com/questions/4896662/combine-multiple-collections-into-a-single-logical-collection only requirement earlier . From the Iterables.concat .. JavaDocs Combines multiple iterables into a single iterable. The returned..
Playing MP3 using Java Sound API http://stackoverflow.com/questions/5667454/playing-mp3-using-java-sound-api calls be here or explicitly called by user program The JavaDocs for line suggest that Clip should throw an IllegalArgumentException..
Loading JDBC driver http://stackoverflow.com/questions/5992126/loading-jdbc-driver not even storing the resultant Class object anywhere. The JavaDocs entry says public static Class forName String className throws..
Is The Java Tutorials Translucent Window example giving trouble to those playing with jdk7? http://stackoverflow.com/questions/6259269/is-the-java-tutorials-translucent-window-example-giving-trouble-to-those-playing netbeans7.0 share improve this question Right from the JavaDocs for java.awt.frame.setOpacity in JDK7 The following conditions..
Adding Mimetypes to MimetypesFileTypeMap http://stackoverflow.com/questions/6308142/adding-mimetypes-to-mimetypesfiletypemap uncovered this documentation in the MimetypesFileTypeMap JavaDocs. MIME types file search order The MimetypesFileTypeMap looks..
Why are my Level.FINE logging messages not showing? http://stackoverflow.com/questions/6315699/why-are-my-level-fine-logging-messages-not-showing are my Level.FINE logging messages not showing The JavaDocs for java.util.logging.Level state The levels in descending order..
Is there some Java library for converting .svg to .png or .jpg at code? http://stackoverflow.com/questions/6610792/is-there-some-java-library-for-converting-svg-to-png-or-jpg-at-code a look at the Batik Rasterizer . Here are the associated JavaDocs for manipulating it at the code level http xmlgraphics.apache.org..
IntelliJ tooltip shows JavaDocs http://stackoverflow.com/questions/6615516/intellij-tooltip-shows-javadocs tooltip shows JavaDocs In Eclipse hovering over a method variable etc displays a tooltip.. variable etc displays a tooltip with the corresponding JavaDocs. Is there such a feature in IntelliJ java eclipse ide intellij..
What is the lifecycle and concurrency semantics of Rhino Script Engine http://stackoverflow.com/questions/6936223/what-is-the-lifecycle-and-concurrency-semantics-of-rhino-script-engine engine reports Mozilla Rhino is MULTITHREADED which the JavaDocs asserts MULTITHREADED The engine implementation is internally.. calls. Same question for CompiledScript instances The JavaDocs state that Changes in the state of the ScriptEngine caused by..
Highlighting Strings in JavaFX TextArea http://stackoverflow.com/questions/9128535/highlighting-strings-in-javafx-textarea word in said control I've seen no options for that in the JavaDocs so if someone could suggest an approach It could be possible..
How do you play a long AudioClip? http://stackoverflow.com/questions/9470148/how-do-you-play-a-long-audioclip calls be here or explicitly called by user program The JavaDocs for line suggest that Clip should throw an IllegalArgumentException..
How to attach source or JavaDoc in eclipse for any jar file e.g. JavaFX? http://stackoverflow.com/questions/9870448/how-to-attach-source-or-javadoc-in-eclipse-for-any-jar-file-e-g-javafx improve this question Download jar file containing the JavaDocs. Open the Build Path page of the project right click properties..
|