Javadoc newbie - how to get "USE" content

I don't understand how to get content from the USE button. At the moment all my attempts produce a USE button which links to a page stating something like "No usage of root.package.class".
My current argument string for Javadoc is something like
-d c:\Doc -use C:\Source\
This doesn't work (produces a nice set of pages with the above problem on the "USE" page). To be specific there is no USE content even for two classes in the same package where one is used by the other.
I've tried guessing some longer combinations of terms leading up to:
-d c:\Doc -use -sourcepath C:\Source\ -classpath C:\Classes\ -subpackages root.packageA root.packageB C:\Source\*.java
though still to no avail. Please can someone offer some advice? Thanks very much

No. Imports are considered by Javadoc to be part of the implementation. If you notice, javadoc does not document imports. Imports are completely ignored by Javadoc, other than to resolve names.
A "use" is where a type appears in a declaration, not an import or other implementation.
"Given class C, things that use class C would include subclasses of C, fields declared as C, methods that return C, and methods and constructors with parameters of type C."
http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javadoc.html#use
Example 1: Class A does not use class B:
import B;
public class A {
     new B();
public class B {
Example 2: method getValue uses B:
public class A
    void getValue(B b) {
public class B {
}

Similar Messages

  • Iphone 4s coming friday, what is the best way to get the notes content from iphone 4 to 4s without doing a restore? i want the new phone to be totally new but not sure how to get notes content across.

    What is the best way to get the notes content from iphone 4 to 4s without doing a restore? i want the new phone to be totally new but not sure how to get notes content across. If I do a restore as I have when previously from one iphone to another it has shown (in settings, usage) the cumulative usage from previous phones so all the hours of calls on all previous iphones will be displayed even though its brand new. Anyone know how I can get my notes (from standard iphone notes app) to my new iphone 4s without restoring from previous iphone 4. Thanks for any help offered.

    First, if you haven't updated to iTunes 10.5, please update now as you will need it for the iPhone 4S and iOS 5.
    Once you're done installing iTunes 10.5, open it. Connect your iPhone to iTunes using the USB cable. Once your iPhone pops up right click on it. For example: an iPhone will appear and it will say "Ryan's iPhone."
    Right click on it and select "Backup" from the dropdown menu. It will start backing up. This should backup your notes.
    Please tell me if you have any problems with backing up.
    Once you backup and get your iPhone 4S, you must follow these steps. If you don't follow these steps, you will not be able to get your notes on your new iPhone 4S.
    Open up iTunes again then right click on your device (iPhone 4S). Once you do you will see a dropdown menu. It will say "Restore from Backup..." Select this and it'll ask for a backup, select it from the dropdown menu. For example "Ryan's iPhone - October 12, 2011." Pick that and it will restore to your backup. Do this when you get your iPhone 4S so you will not lose anything. Even though you're restoring, you're getting back, since you're getting the previous settings, notes, contacts, mail and other settings from your old iPhone. You'll still have Siri though! So, restore when you first get it. Also frequently backup your device, as it will be worth it. You can restore from a backup if something goes wrong or save your data for a future update.
    Once you do that, you should have your notes on your new iPhone 4S and iOS 5.
    Please tell me if you need any help.
    I hoped I answered your questions and solved your problem!

  • How to get the content of the uploaded file.

    Hi Experts,
    I am using a input box to get the path of the file to be uploaded.(I am not using FILE UPLOAD UI Element).Could you please let me know how to get the content of the uploaded file.
    Regards,
    Arun

    >
    ARUN KUMAR.S wrote:
    > Hi Experts,
    >
    > I am using a input box to get the path of the file to be uploaded.(I am not using FILE UPLOAD UI Element).Could you please let me know how to get the content of the uploaded file.
    >
    > Regards,
    > Arun
    You will not be able to use a normal InputField to upload file contents.  This is not allowed by the browser security model. You must use one of the upload specific UI mechanisms - the FileUpload UI element or as of 7.01 ACFUpDownload or FlashIslands.

  • How to get the content of a jTextArea?

    hi everyone
    can some body provide me with some help???
    I want to know how to get the content of a jTextArea
    it may be a String and i want to use that String to make some applications
    I've use this :
    String ch=jTextArea.getSelectedText()
    but i'm not sure it will work and i'm not sure it will take the text writen inside the jTextArea ... please help
    Thanks

    http://forum.java.sun.com/thread.jspa?threadID=778988&tstart=0

  • How to get screen content onto external VGA screen? Do have thunderbolt-VGA adapter but only get screensaver across

    how to get screen content onto external VGA screen? Do have thunderbolt-VGA adapter but only get screensaver across

    VGA and DVI do not carry sound.  Only HDMI.
    Use a minidisplay-to-HDMI adapter.  Then when the TV is connected to the system use "System Prefences > Sound > Output" to select the TV for sound.
    Or connect speakers to the output port of the MBP.

  • WD ABAP: How to get the contents of selected table lines?

    Hi,
    I'm trying to figure out how to get the contents of table lines back from the UI. I display a table with several lines of data. The user selects some rows. I want to move the contents of the selected rows to another table. I have a context attribute, say DATA, with attributes FIELD1... FIELDn, using a DDIC structure. These are bound to the table UI element and the corresponding table columns. To get the selected rows, I use wd_context->get_selected_elements(). This works, but what I get from this method is references to if_wd_context_element. How do I know which row (row number = ?) this corresponds to? And how do I get the actual data? I want a structure with FIELD1 = value1 FIELD2 = value2 etc. My context attributes FIELD refer to table columns, but I'm looking for the table line...
    Can somebody help me?
    Thanks,
    Ira

    Hi Ira,
    wd_context->get_selected_elements() returns WDR_CONTEXT_ELEMENT_SET which is a table type of IF_WD_CONTEXT_ELEMENT. You can loop through the WDR_CONTEXT_ELEMENT_SET, get into variable say node_elelement which is of type ref to If_Wd_Context_Element. Then you could use the method GET_STATIC_ATTRIBUTES of If_Wd_Context_Element which returns a structure with values of all the attributes in the selected row.
    If you need the row number, while populating the node you could have an additional attribute called rowno and populate it correctly. When you select the data using method GET_STATIC_ATTRIBUTES, you would get the appropriate row number.
    Regards,
    Srini.

  • I am thinking of buying a MacBook Air and am wondering how to get the content of my iPad into iTunes.

    I have iTunes on an old pc and am thinking of buying a MacBook Air. I am wondering how to get the content of my iPad on to the Mac as I know that sync only happens in one direction, from pc to device. I assume therefore that when I attach my pad to the new Mac it will sync to an empty iTunes and I will have lost all the content of my pad. I know I can restore purchases, but what about contacts, calendar, photos and music not purchased from apple. I have a fairly recent backup on a pen drive but it is a usb2 device and is formatted for a pc. Any advice would be appreciated.

    Do I copy my media library or from a backup.  I have a backup on my pc and on an external drive. This drive is usb2 and formatted for windows so I can't connect it to a MacBook Air to make the transfer.  Equally I don't think there is a way to connect the 2 computers via a cable ie usb2 one end and usb3 the other.  Will the computers talk to each other via wifi if I enable home share although I think this is only for music which still leaves contacts, mail etc.
    I am sorry to be such an ignoramus but any further help would be appreciated.

  • How to get the content in embed swf file in Swf Loader on run time

    How to get the content in embed swf file in Swf Loader on run time
    [Bindable]
    [Embed(source="assets/index.swf")]
       private var SWFSRC:Class;
    <mx:SWFLoader id="_swfloader" source="{SWFSRC}" />

    Hi Flex harUI,
    Throw the error.
    Access of undefined property content

  • How to get the contents associated with a component.

    How to get the contents associated with a component.
    Like i have 2 buttons and i want to get the contents associated with these button without clicking them i.e without firing the event.
    By Contents i mean, whatever things we get after firing the event,we get some other window and some thing is added to the current page and so on.

    grab all the code inside the actionPerformed(ActionEvent e) method

  • How to get useful data from request?

    Hello.
    I am looking for creating a management tool for a web site. All I want is that is there any ready to use API or package or open source project for retrieving user�s information? I just mean that is there any easy to use way in java to get useful data from a client (for example location, his or her system configuration and information �).
    Thanks.

    If you dump all the data from request (see the javadoc, and especially the "header methods" ) you'll see the data you can get are quite simple.
    The only thing you can try to rely on are ;
    - the IP address from the sender (when reversed to DNS, you can sometime use the tld to locate the country it comes from. Yet, you'll get many .com name, so it's not that significant. it may also give you the IAP used). Note that if the user is using a proxy, it's the proxy IP that you'll collect
    - the User-Agent header : from this, you can guess the OS and the browser used
    - the Referer header : usefull to get where your user comes from (where they found a link to your site)
    - the Cookie header : if you're using a servlet container with session id stored in cookie, you should see the Cookie header appear on the second request to your site. That helps finding out wether your user accep cookie or not (from a server point).
    Besides these, i don't think you can get any other useful data without asking your users on a form. Note that it's the client that decides to send Referer, User-Agent or Cookie headers. Those are not mandatory to the Http Protocole and some browser allow their user to fool their content (butmore than 90% of the widespread browsers don't)

  • FavoriteFolder, how to get the content inside this folder

    Hi
    I have to get with the Java api consumer the content inside the favorite folder. How can i get it?
    i write this code:
                   String searchQuery = search://{'guaglanto1'}?SearchKeywords=true&SearchExact=true&SearchCaseSensitive=true;
                   ResponseHolder rh = boBIPlatform.get(searchQuery, null);
                   InfoObjects myFav = rh.getInfoObjects();
                   if (myFav == null || source.getInfoObjectArray().length == 0){
                     result="No terms matching the following search query could be found: " + searchQuery;
                             return result;
                   result ="";          
                   for (InfoObject infoObject: myFav.getInfoObjectArray()){
                     result= result+ infoObject.getName() + " has CUID: " + infoObject.getCUID()+ " type "+ infoObject.getKind() + " has childreen "+ infoObject.getChildrenObjects();
    Where guaglanto1 is the title of the favoriteFolder.This code show the CUID,name,kind and children of the favoriteFolder.  Now i want to navigate this folder and get its content (i see from InfoViewApp there are 5 web intelligent report inside the favorite folder) but i don't know how can i get that.
    Anyone can help me to resolve this problem?
    thank you
    best regard
    Andrea

    once you get the SI_ID or SI_CUID of the favorites folder you need to write an additional query to pull all its children using:
    select * from ci_infoobjects where si_parentcuid='<si_cuid of favorites folder>'
    If the favorites folder contains folders with subfolders, this will be a recursive call. You can use query://{select....} or path://
    Look at the BIPlatform documentation in API reference and there is more information on how to use query:// or path://

  • SRM7 - how to get clipboard content at runtime

    Hello gurus,
    not sure this is the proper section as my question is kinda technical and ABAP-related, anyway.... SRM 7.0 has a Copy/Paste option on items of a document (purchase order or contract): once the user selects an item, the "Copy" button uploads the item on the clipboard, while the "Paste" one gets clipboard's content and generate a new item with that data.
    I have to check at runtime which data are in the clipboard in a WDDOMODIFYVIEW post-exit enhancement.
    For a specific customer desiderata, I have to check the "copied" position w.r.t. the item that is selected at runtime in order to enable/disable the "Paste" button.
    So the question is: how can I get the "copied" item? I need to check some fields in it in order to eventually disable the "Paste" button dinamically.
    I assume this question could be equivalent to the following: how can I access the clipboard area and get the "copied" item(s) ?
    I'm working on the item main area (/SAPSRM/WDC_CTR_DOTC_IT web dynpro) and tried as follows:
    DATA: lv_FILLED Type abap_bool.
      DATA: facade_clip TYPE REF TO /SAPSRM/IF_CH_WD_SETF_CLIPBRD.
    * check clipboard
      CALL METHOD wd_this->MO_DODM_CTR_ITEMS->/sapsrm/if_cll_do_mapper~is_clipboard_filled
        RECEIVING
          rv_data_contains = lv_filled.
      IF lv_filled EQ abap_true.
        CALL METHOD wd_this->mo_dodm_ctr_items->get_clipboard
    *      EXPORTING
    *        iv_cross_tx  =
          receiving
            ro_clipboard = facade_clip.
    Unfortunately, the second method (get_clipboard) seems to be private/protected. Is there any other way to get info on the copied positions?
    Thanks in advance
    EDIT: moreover, I noticed also that IS_CLIPBOARD_FILLED is not relevant for my task, as it returns always abap_true even though no item was copied. I guess that clipboard can be filled with every kind of data... I have anyway a workaround which is based on a post-exit on the COPY_ITEM method, in which I mark a custom field in the context ("copy_pressed"), so I know in WDDOMODIFYVIEW whether the "Copy" button has been pressed.
    Edited by: Matteo Montalto on Mar 2, 2012 3:53 PM

    Hi all,
    back on the argument as I probably found a way to achieve the desiderata... only a little tile missing, hope someone could provide me an help.
    Basically, in WDDOMODIFYVIEW, I coded as follows:
    DATA: clipbrd TYPE REF TO /SAPSRM/IF_CH_WD_SETF_CLIPBRD.
    clipbrd = wd_this->mo_dodm_ctr_items->/sapsrm/if_cll_do_mapper~get_clipboard( iv_cross_tx = 'X' ).
    This gives correctly the clipboard object, that is however not usable as object of type /SAPSRM/IF_CH_WD_SETF_CLIPBRD.
    I should then use a method to retrieve the content of the clipboard in an usable format; I found out that the method
    CALL METHOD (of /SAPSRM/IF_CH_WD_SETF_CLIPBRD) get_clipboard_content
        EXPORTING
          io_set_facade        =
        receiving
          rt_clipboard_content = test (type ref DATA).
    is exactly what I'm looking for.
    The problem is: what's that io_set_facade intended for? As it's a mandatory parameter I have to pass it in order to retrieve clipboard's content, but don't have idea on how to get it in WDDOMODIFYVIEW as it seems an private attribute of the interface IF_CLL_DO_MAPPER.
    Any help is welcome.
    Thanks.

  • How to get the contents of more than one comments of human task?

    The human task have more than one comments. I use the following functions to get the contents but still only get the first comment. Append function only returns the first comment.
    How to get all conents of comments?
    <while name="While_1"
    condition="bpws:getVariableData('Variable_int_i')&lt;number(bpws:getVariableData('Variable_comment_node'))">
    <sequence name="Sequence_3">
    <sequence name="Sequence_3">
    <assign name="Assign_7">
    <copy>
    <from expression="string(bpws:getVariableData('single_approve_1_globalVariable','payload','/task:task/task:userComment/task:comment'))"/>
    <to variable="Variable_comment_string"/>
    </copy>
    </assign>
    <assign name="Assign_6">
    <copy>
    <from expression="bpws:getVariableData('Variable_int_i')+1"/>
    <to variable="Variable_int_i"/>
    </copy>
    </assign>
    </sequence>
    </sequence>
    </while>

    You also have to test the value:
    REPORT ztest MESSAGE-ID 00.
    DATA: BEGIN OF itab OCCURS 0,
            f1 TYPE i,
            f2 TYPE i,
            f3 TYPE i,
            f4 TYPE i,
          END OF itab.
    DATA: sel_field(20),
          value TYPE i.
    DO 5 TIMES.
      itab-f1 = sy-index.
      itab-f2 = sy-index + 10.
      itab-f3 = sy-index + 20.
      itab-f4 = sy-index + 30.
      APPEND itab.
    ENDDO.
    LOOP AT itab.
      WRITE: /001 itab-f1, itab-f2, itab-f3, itab-f4.
      HIDE itab.
      CLEAR itab.
    ENDLOOP.
    AT LINE-SELECTION.
      CLEAR: sel_field,
             value.
      GET CURSOR FIELD sel_field.
      IF sy-subrc = 0.
        CASE sel_field.
          WHEN 'ITAB-F1'.
            value = itab-f1.
          WHEN 'ITAB-F2'.
            value = itab-f2.
          WHEN 'ITAB-F3'.
            value = itab-f3.
          WHEN 'ITAB-F4'.
            value = itab-f4.
        ENDCASE.
        MESSAGE s001 WITH 'Value of' sel_field 'is' value.
      ELSE.
        MESSAGE s001 WITH 'Invalid field selected'.
      ENDIF.
    Rob

  • How to get the content of a DTD ?

    (i'm French, please excuse my English)
    I'm trying to get the content of the DTD corresponding to the file "fic"
    fic is like : "....../XXXXXX.xml"
    and contains : <!DOCTYPE composants SYSTEM "test.dtd">
    Here is my code :
    org.w3c.dom.Document Doc = DBXML.newDocument();
    Doc = DBXML.parse(fic);
    //Doc is a correctly parsed Document
    org.w3c.dom.DocumentType DT = Doc.getDoctype();
    System.out.println(DT.getSystemId());
    //echo : "test.dtd" so I think that DT is good
    System.out.println(DT.getNodeType());
    //Echo "10" ==> DocumentType Node
    System.out.println(DT.getNotations().getLength());
    //Echo "0" !!!!!!!!!
    I can't figure why getNotations() can't give me the DTD definitions
    Please tell me if I try to use a wrong way or if I missed something.
    Thanks a lot ...

    getNotations() method returns Dtd NOTATIONS when the NOTATIONS are referenced in the DTD.
    Dtd:
    <!ELEMENT map (entry*) >
    <!ELEMENT entry (#PCDATA)>
    <!ATTLIST entry value NOTATION (n1|n2) #REQUIRED>
    <!NOTATION n1 SYSTEM "n1-url">
    <!NOTATION n2 SYSTEM "n2-url">
    /* getNotation() returns NamedNodeMap*/
    DocumentType docType=xmlDocument.getDoctype();
    System.out.println(docType.getName());
    NamedNodeMap nnm=docType.getNotations();
    System.out.println((nnm.item(0)).getNodeName());
    System.out.println((nnm.item(1)).getNodeName());
    System.out.println(docType.getNotations().getLength());
    Output:
    map
    n1
    n2
    2

  • How to get SOAPHEADER contents?

    Hello,
    i am trying to call web servies.i got response.but i want response soap header contents.
    can any body tell me, how to get response soap header contents?

    grab all the code inside the actionPerformed(ActionEvent e) method

Maybe you are looking for

  • Message on iTunes startup

    I’m brand new to iTunes. I currently have a Creative Labs mp3 player, which I like a lot. Two days ago I bought the 80 gig iPod Classic, which seems to be a very nice unit. I had resisted iPods due to the proprietary nature of everything. After talki

  • Upgrade hard drive (possible?)

    I would like to know if it is possible to upgrade the hard drive on my tx2120-us HP Pavilion Entertainment notebook from the one that came with it (250GB) to a 7200rpm 500GB drive.  I have also a touchsmart tx2z 1300 CTO which has a 500GB hard drive

  • Benefits of the way using Java codes in Jdev 11.1.1.5

    Hi, I know there can be 2 ways to do these: retrieve the file to the DB or take the file from the DB. 1)     1st way is to call DB procedure by passing parameter to it from the java class 2)     2nd way is use java codes to directly do that What is t

  • ERROR MESSAGE 22

    Hi, I am new to ipad and have a problem logging on to Filmon. When trying to log on I get the following message:- "QUOTA EXCEEDED _ERR:DOM Exception22. Anattempt was made that exceeded the quota" I have a full subscription to Filmon which works OK on

  • Shuting Down During Hardware Test

    Hi, I have a Macbook 1.83 Coreduo I purchased Last July (2006). Whenever I run the hardware test it shuts down about 1 minute into the test. I have had some problems with the computer and have had to have the logic board replace 3 times. I have all t