** Typo in j2se/1.4/docs/api
I just found a documentation error in the api
not a biggie,
in Class DecimalFormat under the method summary
setNegativeSuffix(String newValue)
Set the positive suffix.
I guess the set the positive suffix should be changed to negative suffix.
Does Sun even care? =)
Yes, I think SUN cares. Report it using the Bug Database.
The funny thing is that it seems to be a Javadoc bug. It is only in the index over the methods of the class that this error shows. In fact, the method is duplicated in the index. The first has the correct text, the second the wrong text.
Similar Messages
-
Where can i find the Java doc API for Sun Portal 6.2
Hi
I am looking for the java doc api for portal.. for e.g, i want to know the available classes under com.sun.portal.providers.util and method details under that..
Thanks
RameshThere should be a file called javadocs.jar in your portal installation directory. Either under SUNWps/sdk or SUNWps/export.
- Jim -
Help, Where can I download J2SE 1.3.1_02 API Docs?
I've been looking thru Sun's Docs, but I can't find the Source API of all classes of 1.3.1_02 for reference and usage. Could someone point me to the correct web site for this?
Tks RanYou can download all documents include tutorial.
http://java.sun.com/docs/index.html -
Printing with J2SE 1.4 Printing API
Hi Everyone,
Is there any tutotial or any type of documentation that talks about how to use J2SE v.1.4 Printing API. I've heard that it's much simpler and easier to use than old AWT printing API.
Thanks in advance,
YMdo NOT cross post
-
How to generate all the links of the java api methods
Hi all,
I noticed from my docs that the JAVA API methods are not linked. They are just static text. How can i link all the java api methods to a root url examble: java.sun.com/j2se/docs/javax/JFrame#pack()
java.sun.com/j2se/docs/javax/JFrame#setVisible()
java.sun.com/j2se/docs/java/sql/ResultSet#executeQuery()
and so on.
Thank you in advance.It sounds like you'd like to link to our docs on java.sun.com.
You can do this using -link or -linkoffline
http://java.sun.com/j2se/1.4.2/docs/tooldocs/solaris/javadoc.html#link
Start by reading the section "Choosing between -linkoffline and -link"
Basically, try this option first:
-link http://java.sun.com/j2se/1.4/docs/api
If this fails (because your shell cannot access java.sun.com),
then copy package-list from java.sun.com to your current directory,
then use this option:
-linkoffline http://java.sun.com/j2se/1.4/docs/api .
Notice that the second argument is a dot "." to indicate
that package-list is in the current directory.
-Doug Kramer
Javadoc team -
How to get an offline version of the API documentation?
Well, thats the question. I want to have the API documetatio like in this link: http://java.sun.com/j2se/1.4/docs/api/overview-summary.html , but I want it all and offline. Is there a Help file I can download somewhere where the API is documented?
thanxIf you have Java installed you have the documentation on your harddrive.
%JDKDIR%\src.zip
in some versions src.jar
You can open that file with "zip"-applications such as WinZip and in there you got every class your installed version has...and ever source file is filled with comments for every method.
In this file you can alsow easeily look upp what methods a class has. -
Scheduling in weblogic 7.0 using java API
Hi,
There is a java class that needs to be executed each day at a specified time through
weblogic 7.0 app server. In weblogic 6.1, the weblogic timer classes were deprecated.
Weblogic 7.0 suggests using 3rd party J2EE scheduling tools like FLUX and Kronos
Enterprise Scheduler. However, are there some other weblogic java APIs available
in weblogic 7.0 through which scheduling can be achieved?
TIA,
abhishek.you might also consider using java.util.Timer. See
http://java.sun.com/j2se/1.3/docs/api/java/util/Timer.html
Regards,
Michael
"abhishek" <[email protected]> wrote in message
news:[email protected]..
>
Hi,
There is a java class that needs to be executed each day at a specifiedtime through
weblogic 7.0 app server. In weblogic 6.1, the weblogic timer classes weredeprecated.
Weblogic 7.0 suggests using 3rd party J2EE scheduling tools like FLUX andKronos
Enterprise Scheduler. However, are there some other weblogic java APIsavailable
in weblogic 7.0 through which scheduling can be achieved?
TIA,
abhishek. -
Want to use jdk1.4 logging api with weblogic 6.0
Hi Everybody,
Can anybody help me in configuring login configuration . Actually when i change the java_home in weblogic to jdk1.4, it starts throwing security exception like this:-
java.lang.SecurityException
at javax.security.auth.login.Configuration.getConfiguration(Configuration.java:229)
at javax.security.auth.login.LoginContext$1.run(LoginContext.java:170)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.init(LoginContext.java:167)
at javax.security.auth.login.LoginContext.<init>(LoginContext.java:393)
at weblogic.security.internal.ServerAuthenticate.main(ServerAuthenticate.java:76)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:167)
at weblogic.Server.main(Server.java:35)
if somebody can help in this regard,
The following links can be used to refer to login configuration
http://java.sun.com/j2se/1.4/docs/api/javax/security/auth/login/Configuration.html
Regards,
NeetikaI am not sure what you mean by 'plug-in', but it sounds to me like you want to run weblogic with 1.4.
And that probably isn't a good idea in a production system. 1.4 is still beta and there are suggestions that it still includes debugging code. And if bea hasn't certified it then you loose all support from them when running under that. This will all lead to extra time spent figuring out if the problem is in your code, in weblogic or in 1.4. -
I downloaded Java 2 beta 1.4.0 and it compiled an ran a simple program.
Is there a Java sensitive editor and documentation retrieval by class name
that comes with this system. I am lost on this subject.
How does one do programming?
I need an editor and handy information about the library classes.The API docs are very easy:
http://java.sun.com/j2se/1.4/docs/api/index.html
The editor that you choose, well there are many...Inprise's JBuilder is my choice. I know there are many others (Java Workshop, VisualAge, etc). Unlike the JDK itself, there is usually a fee for the editors.
Many of them have a "demo" copy you can download and try for 90 days, etc. I would suggest doing this and finding one you like best. Then go buy it...
Worst case, just use a text editor (Window's Notepad, Linux/Unix's VI or EMACS, etc) and the command-line compiler (javac) and runtime environment (java). -
Mad as hell, where is the doc for default java keyboard mapping
I know it's there somewhere. But when I need it, I can not find it. It's the listing of all platforms mapping of keyboard shortcut and swing components. Man!!! Sun should have put it somewhere, like a link in the registerKeyaction, or keyevent, or keystroke or event, or Jcomponent, or whatever, God. I am so mad, after search for a long time and can not find a thing. grurururugurufgurugururur
Found it!!!!
Here's how:
Start at JComponent:
http://java.sun.com/j2se/1.3/docs/api/javax/swing/JComponent.html
Look down, and see link: Swing package description
http://java.sun.com/j2se/1.3/docs/api/javax/swing/package-summary.html#package_description
Here, you'll see: Keystroke Handling
http://java.sun.com/j2se/1.3/docs/api/javax/swing/package-summary.html#keys
There, you'll find: Swing Component Keystroke Assignments.
http://java.sun.com/j2se/1.3/docs/api/javax/swing/doc-files/Key-Index.html
Wow!!! I hope there are other easier ways. -
Is quicksort part of the Java API
Where can I find this Class or method
and what java version is it. I have been looking myself. I can't find it.
I have been adviced that it is one of the best type of sorting algorithm.in place of Bubble sortHave a look at
http://java.sun.com/j2se/1.4/docs/api/java/util/Arrays.html
The sort method uses a tuned Quicksort.
Hope this helps,
S -
Java logging API (1.4) -- where's the file?
Where on God's green earth does the log file get written to?
I am doing some very simple code:
import java.util.logging.*;
public class SimpleLogging {
static Logger jcfeLog = Logger.getLogger("test1");
static Logger sampleLog = Logger.getLogger("test2");
public static void main(String [] args)
jcfeLog.warning("sample warning");
sampleLog.log(Level.INFO, "sample info entry");
byte[] moreInfo = new byte[10];
//fill moreInfo with some binary info
jcfeLog.log(Level.FINEST, "Some obscure event", new Object[]{moreInfo});
} doesn't get much simpler, plus I am using the default properties file. I get the console output but simply cannot find the log file anywhere on my system. Just for kicks, here is the config entry for the file:
java.util.logging.FileHandler.pattern =%t/java%u.logmy understanding is that it should go to the temp directory?
also, why aren't the specs for the config file listed anywhere, all these %t, %u, etc.....????The FileHandler API gives the meaning for the % symbols.
http://java.sun.com/j2se/1.4/docs/api/java/util/logging/FileHandler.html
Your pattern indicates that the file should be put in the system's temp directory, with the file name java###.log.
Maybe you should try calling the addHandler method on your Loggers, and add a FileHandler to write the messages to that file. -
Can someone suggest where can I find some advanced file handling APIs . I want to have indexed files and associated management
Hi,
I do not know if this can help...JAVA 1.4
http://java.sun.com/j2se/1.4/docs/api/javax/naming/spi/DirectoryManager.html
JAVA 1.3
http://java.sun.com/j2se/1.4/docs/api/javax/naming/spi/DirObjectFactory.html
http://java.sun.com/j2se/1.4/docs/api/javax/naming/spi/DirStateFactory.html
JAVA 1.0
http://java.sun.com/j2se/1.4/docs/api/java/io/FileDescriptor.html
http://java.sun.com/j2se/1.4/docs/api/javax/swing/plaf/basic/BasicDirectoryModel.html
http://java.sun.com/j2se/1.4/docs/api/javax/naming/directory/BasicAttribute.html
http://java.sun.com/j2se/1.4/docs/api/javax/naming/directory/InitialDirContext.html
http://java.sun.com/j2se/1.4/docs/api/javax/naming/directory/package-summary.html
http://java.sun.com/j2se/1.4/docs/api/javax/naming/directory/Attributes.html
Hope this helps,
JRG -
Setting logging.config.class via Preferences API
The Javadoc for LogManager says:
In addition, the LogManager uses two optional system properties that allow more control over reading the initial configuration:
* "java.util.logging.config.class"
* "java.util.logging.config.file"
These two properties may be set via the Preferences API, or as command line property definitions to the "java" command, or as system property definitions passed to JNI_CreateJavaVM.
http://java.sun.com/j2se/1.4/docs/api/java/util/logging/LogManager.html
So, how can I set the "java.util.logging.config.class" system property via the Preferences API? How can I set any system property via the Preferences API? I think this is a documentation bug, but I would like to know how to do it, otherwise.
http://java.sun.com/j2se/1.4/docs/api/java/util/prefs/Preferences.htmlI don't know why I couldn't find it when I looked before,
but it is a filed bug.
http://developer.java.sun.com/developer/bugParade/bugs/4691587.html
This help me find a work-around.
http://developer.java.sun.com/developer/bugParade/bugs/4506094.html -
If I wanted to take out all html tags and leave only the tags of a page
stored as eg "unstripped.txt". How would I pass this file in and what methods could I use? and then would it be possible to write out to a file again eg "stripped.txt"
Thank youHave a look at JEditorPane and the different editor kits.
http://java.sun.com/j2se/1.4/docs/api/javax/swing/JEditorPane.html
There's also some html packages in swing that might be useful
http://java.sun.com/j2se/1.4/docs/api/javax/swing/text/html/package-summary.html
http://java.sun.com/j2se/1.4/docs/api/javax/swing/text/html/parser/package-summary.html
I haven't got a clue how to use any of it, but there you go.
I haven't tried this, but it seems like you could read in your html and put it in a JEditorPane with an HTMLEditorKit. Then you could switch to a DefaultEditorKit to change it to plain text. I don't know if that will work, but it's worth a try.
Maybe you are looking for
-
DO NOT UPGRADE NOKIA 6234 TO FIRMWARE 5.43!
Many people have reported that their phone crashes when they do this upgrade. Once you upgrade your firmware, you can't get rid of it. Nokia care centre will not help you unless the phone is in the warranty period. If you can't find your proof of pur
-
How can I get my ringtones from i tunes synced to my iphone
How can I get my purchased itunes ringtones back on my iphone?
-
Hi , I need to write a exit for the variable on 0infoprovider field.When we press F4 on that variable, it should sisplay only those infoproviders included in multiprovider. Now it is dispalying all infoproviders. I thought I can use the function modu
-
Extended notification and NWBC inbox
Hi, Currently we can configure Workflow Inbox link to SAP Workflow Inbox for GUI or HTML (SBWP), is there any way our to configure that link to take us directly to NWBC Workflow Inbox? Thanks in advance Niketan Maral
-
Scanning Pictures for HD Project I Need Advice
I am about to *Scan Pictures for HD Project* I Need Advice. The scanner is a HP Scanjet G4050 my questions are: 1: At what resolution do I scan these pictures _+(300 or highest dpi available)+_ 2: What color choice is necessary *(RGB vs CMYK)* 3: Can