How to get RootDoc without writing a Doclet?

I know that a Doclet automatically receives an instance of RootDoc
in the start() method. However, I'd like to write a non-Doclet
class which processes a RootDoc object. Is there any way to get
a RootDoc object outside the context of a Doclet?
I imagine javadoc internally builds up the RootDoc and then
passes it to RootDoc. I guess I'm asking for a way to get
that RootDoc.
Thanks for your help.

From www.jdiff.org, in the README:
"JDiff also includes a script to use the classdoc application from
http://classdoc.sourceforge.net or http://www.jensgulden.de, by Jens Gulden, [email protected],
to call a doclet such as jdiff on a .jar file rather than on source."
The classdoc application generates a RootDoc object, I believe.
~Matt

Similar Messages

  • How to get result without single cotes in ''Cast(Multiset( '' Result.

    select cast(multiset(select column_name
    from user_tab_columns
    where table_name = 'DAILY_PRODN_MIS'
    and column_name like '%STOCK%'
    order by column_name) as tab_type) result from dual;
    RESULT
    TAB_TYPE('BAGS_STOCK', 'BLUE_DUST_STOCK', 'CEMENT_STOCK', 'CEMENT_STOCK_33', 'CEMENT_STOCK_43', 'CEMENT_STOCK_53', 'CK_ADJ', 'COAL_IND_D_STOCK', 'COAL_IND_D_STOCK_ADJ', 'COAL_IND_E_STOCK', 'COAL_IND_E_STOCK_ADJ', 'COAL_IND_F_STOCK','OCK_ADJ', 'MTD_COAL_IMP_D_STOCK_ADJ', 'MTD_COAL_IMP_E_STOCK_ADJ', 'MTD_COAL_IND_A_STOCK_ADJ', 'MTD_COAL_IND_B_STOCK_', 'YTD_COAL_IMP_B_STOCK_ADJ', 'YTD_COAL_IMP_C_STOCK_ADJ', 'YTD_COAL_IMP_D_STOCK_ADJ', 'YTD_COAL_IMP_E_STOCK_ADJ')
    How can i get result without single cotes for each column.

    Your query currently returns a collection type (tab_type) whereas it appears you want to return a delimited string.
    There are actually quite a few ways to achieve this - with your own function, with a user-defined aggregate functions (e.g. Tom Kyte's stragg), with the MODEL clause or with CONNECT BY, e.g.
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> SELECT table_name,
      2         SUBSTR (MAX (SYS_CONNECT_BY_PATH (
      3            column_name, ',')), 2) column_names
      4  FROM  (SELECT table_name, column_name,
      5                ROW_NUMBER () OVER (
      6                   PARTITION BY table_name
      7                   ORDER BY column_id) column_order
      8         FROM   user_tab_columns
      9         WHERE  table_name = 'BANK_ACCOUNT'
    10         AND    column_name LIKE '%U%') utc
    11  START WITH column_order = 1
    12  CONNECT BY column_order = PRIOR column_order + 1
    13  AND    table_name = PRIOR table_name
    14  GROUP BY   table_name;
    TABLE_NAME           COLUMN_NAMES
    BANK_ACCOUNT         ACCOUNT_NAME,ACCOUNT_NUMBER
    SQL>

  • How to get repair without Apple Retail Store nearby?

    My daughter's Ipod Touch stopped working after 6 weeks.  Apple support tells me the only way I can get it repaired is by physically taking it to an Apple retail store or a UPS store, neither of which is within an hours drive of me.  Has anyone been able to get repairs done without physically taking it in?  They won't let me just ship it!!! I'll gladly pay for shipping....Thanks

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • How do get attachment without triggering flag chaging from unread to read?

    Hi all,
    In IMAP, is there anyway to get the attachment without flipping the flag from unread to read?
    here's my code:
    store = session.getStore(IMAP);
    store.connect("someHost", somePort, "someLoginName", "somePwd");
    folder = (IMAPFolder)store.getFolder(INBOX);
    folder.open(Folder.READ_WRITE);
    javax.mail.Message message = folder.getMessageByUID(someUID);          
    if (message.isMimeType("audio/wav")) {
        InputStream is = message.getInputStream();
             while (nBytesRead != -1) {
                nBytesRead = is.read(buffer); // read the attachment from stream
    ...here's the bodystructure of the email:
    comand:
    A6 FETCH 3 (BODYSTRUCTURE)
    response:
    * 3 FETCH (BODYSTRUCTURE ("AUDIO" "WAV" ("NAME" "AUDIO.WAV" "TYPE" "Unknown") NIL NIL "BASE64" 7874 NIL NIL NIL))
    command:
    A7 FETCH 3 (BODY[TEXT]<0.7874>)
    response:
    * 3 FETCH (FLAGS (\Seen VOICE) BODY[TEXT]<0> {7874}
    [binary data...]
    As you see, the server sets the message to Seen (which is read state). How do I not set the flag to Seen?
    Thanks.
    Grace

    Why not just set it back to Not Seen after you do that?

  • 10.2.0.4 patch set | How to get it without MetalinkId

    I am using Oracle 10.2.0.1.0 and wanted to upgrade to 10.2.0.4. But, I do not have Metalink Id, can I get the 10.2.0.4 patch set without Metalink Id?

    Yes, you can. Choose a plateform where the 10.2.0.4 patchset version is the based released (MacOSX, Vista or Windows 2008), install it, create a new db, then export your source 10.2.0.1 db, and import into this new one.
    Nicolas.
    PS: of course, if you want only the patchset to upgrade your db in place, then the answer is shorter : no.
    Edited by: N. Gasparotto on Aug 11, 2009 10:51 AM

  • How to get filechooser without default  design

    Hi,
    while i am using jfilechooser i am getting the default design as follows
    [click here to view the default_design of filechooser|http://www.mediafire.com/imageview.php?quickkey=qzmknjzon5y]
    but i don't want above one
    i want new design as follows
    [click to view the design i want|http://www.mediafire.com/imageview.php?quickkey=2o4mdbtzten]
    the above design is present in the swing gui in neatbeans ide, i drag and drop it but again when i click on button
    i am getting the default filechooser design.
    how can i achieve the above design please help me...........
    any ideas
    Thanks in advance,
    Nagaraju.
    Edited by: uppala on Nov 27, 2009 3:40 PM

    Try to add this at begin of main method:
    try {
        UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    } catch (Exception ex) {
        ex.printStackTrace();
    }

  • HT4623 How to get sound without earphonees?

    I can't hear without using earphones, any suggestions welcome?

    1. If you have no sound at all, even in the Music App, try rebooting the iPad.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    2. If you lost sounds for keyboard clicks, games or other apps, email notifications and other notifications, system sounds may have been muted.
    System sounds can be muted and controlled two different ways. The screen lock rotation can be controlled in the same manner as well.
    Settings>General>Use Side Switch to: Mute System sounds. If this option is selected, the switch on the side of the iPad above the volume rocker will mute system sounds.
    If you choose Lock Screen Rotation, then the switch locks the screen. If the screen is locked, you will see a lock icon in the upper right corner next to the battery indicator gauge.
    If you have the side switch set to lock screen rotation then the system sound control is in the task bar. Double tap the home button and in the task bar at the bottom, swipe all the way to the right. The speaker icon is all the way to the left. Tap on it and system sounds will return.
    If you have the side switch set to mute system sounds, then the screen lock rotation can be accessed via the task bar in the same manner as described above.
    This support article from Apple explains how the side switch works.
    http://support.apple.com/kb/HT4085
    3. If you still have no sound at all - except when using headphones ....try cleaning the dock connector opening of the iPad with a soft brush and just a little bit of rubbing alcohol.

  • HT3678 How to get Quicktime without a Snow Leopard Install Disc?

    I purchased Snow Leopard through apple as a download. So I never received a disk. And I deleted Quicktime because it would not play audio. I thought I could just fresh reinstall it and it might fix the problem. Where can I download it without the disc? I have scoured the forums, changed Text files to qtz (but since I do not have quicktime on my machine anymore I can't ask Apple to download it for me)... Any ideas? Thanks!

    Worth checking which version you deleted (deleting QT is never a good idea as it is an integral part of the operating system).
    Mac OS X 10.6 includes QuickTime versions 10.0 and 7.6.3. The QuickTime 7 player will only be present if a QuickTime Pro key was present at the time of installation, or if specified as part of a custom install, or individually downloaded:
    http://support.apple.com/kb/dl923
    Snow Leopard update 10.6.4 included an update to 7.6.6 (if installed). You can install it from the above link  even though it says for 10.6.3. It's the same version of QuickTime Player 7.6.6.
    (Only QuickTime Player 7.6.3 or 7.6.6 can be updated to "Pro".)
    A Mac OS X v10.6, OS X Lion, and OS X Mountain Lion-compatible version of QuickTime Player 7 is available for use with older media or with AppleScript-based workflows. QuickTime Player 7 can be used to playback formats such as QTVR, interactive QuickTime Movies, and MIDI files. Also, it supports QuickTime 7 Pro registration codes for access to QuickTime Pro functionality.
    How to install Quicktime Player 7 on Snow Leopard, Lion and Mountain Lion when it is not already present:
    http://support.apple.com/kb/HT3678?viewlocale=en_US&locale=en_US

  • How to get internet without seeing our network.

    Hello all.
    I want clients to be able to use their laptops/ipads/iphones to get the internet, but I don't want them to be able to see our internal network.
    We have a highspeed 10GE network for video/digital media and for speed reasons, we have to leave all the servers open so other freelance workstations don't have to login each time to get the storage. So if you hardline into our network, 10GE/GE, you can see our central storage.
    When a client uses our WIFI, they can see that storage, but we don't want them too.
    Is their anyway to have them just get an internet connection without seeing our internal network?

    A recent Apple AirPort Extreme base station can create a guest network that should be completely separate from the encrypted wireless network. Of course, depending on the network configuration, that may or may not help, and if the base station isn't responsible for the network (ie, if it's extending an existing network) then it can't create the guest network at all.

  • How to get database without wamp.

    .now i m connected to my data basee.bt if i want to give this application to any other computer ..do i need to instaal wamp there.......how will the swf connect to datbasee...n whwre dtabase gonna liee...

    How does it work now ?
    Where is the database now ? On the development computer ?
    How do you access the database ? Through PHP ?

  • I downloaded lion and cloud does not show up in my system  preferences. Not sure how to get started without finding icloud., I downloaded lion and cloud does not show up in my system  preferences. Not sure how to get started without finding icloud.

    I just downloaded lion and cloud does not show up in my system preferences. Where is it hiding so I can set up icloud and see what lion is offering that is different from snow leopard.

    I purchased Lion on the app program but that did not seem to update my software or my operating system. Curious. It showed up on my menu bar saying it was downloading then disappeared. I can't seem to find it anywhere. Suggestions where I should look to make sure it is installed (which clearly it isn't)
    Thanks Roger

  • HT1751 when i update my ipad mini from ios6 to 7 i lost my Apps, how i get those without internet?

    i updated my ipad mini fromios6 to 7' but i had an backup, when i updated my ipad mini i lost my apps, when i do restore backup the app not coming, please help

    You can download apps again for free from the app store via the purchased tab at the bottom of the screen in the app store app. You must use the same Apple ID that you bought the apps with.
    Are the apps still in iTunes on your computer? If they are - sync them back onto the iPad.

  • Accidentally in factory setup, how to get out?

    Hi,
    I was travelling today, when I went to turn on my A1000 it went in to factory set up, any idea how to get out without losing data?
    Thanks
    Jim
    Solved!
    Go to Solution.

    hi Jim,
    Is the recovery screen similar to these pictures?
    - Link to picture
    - Link to picture
    If it is then you just need to select "Normal Boot" (1st picture) or "Reboot System Now" (2nd picture) to get out and boot into the OS without losing data.
    Regards
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Cant get web without wifi

    Just got my bionic yesterday and it worked great. Had it connected to my home wi fi but when I left the house I could no longer get web off the cells. How do a fix this. I had the iphone before so I did not have to think but I'm a loss on how I get reconnect without wi fi.

    This is a problem that a bunch of us are having including me, if I read your posting right.  Sometimes we have 4G, sometimes 3G, and sometimes nothing.  If your notification bar doesn't say 3 ror 4g, then you don't have internet without wifi.  VZW employee postings I have read say that they are aware of the problem and a fix is in the works.  We all hope the problem is in the software or the network but who knows at this point.  My phone worked perfectly since getting it on day 2 of the release, until 10/16 when it lost all data connection.  It comes and goes now and I find I have to reboot to get it.  Keep making noise with Verizon.

  • How to get an XML string from a Java Bean without wrting to a file first ?

    I know we can save a Java Bean to an XML file with XMLEncoder and then read it back with XMLDecoder.
    But how can I get an XML string of a Java Bean without writing to a file first ?
    For instance :
    My_Class A_Class = new My_Class("a",1,2,"Z", ...);
    String XML_String_Of_The_Class = an XML representation of A_Class ?
    Of course I can save it to a file with XMLEncoder, and read it in using XMLDecoder, then delete the file, I wonder if it is possible to skip all that and get the XML string directly ?
    Frank

    I think so too, but I am trying to send the object to a servlet as shown below, since I don't know how to send an object to a servlet, I can only turn it into a string and reconstruct it back to an object on the server side after receiving it :
    import java.io.*;
    import java.net.*;
    import java.util.*;
    class Servlet_Message        // Send a message to an HTTP servlet. The protocol is a GET or POST request with a URLEncoded string holding the arguments sent as name=value pairs.
      public static int GET=0;
      public static int POST=1;
      private URL servlet;
      // the URL of the servlet to send messages to
      public Servlet_Message(URL servlet) { this.servlet=servlet; }
      public String sendMessage(Properties args) throws IOException { return sendMessage(args,POST); }
      // Send the request. Return the input stream with the response if the request succeeds.
      // @param args the arguments to send to the servlet
      // @param method GET or POST
      // @exception IOException if error sending request
      // @return the response from the servlet to this message
      public String sendMessage(Properties args,int method) throws IOException
        String Input_Line;
        StringBuffer Result_Buf=new StringBuffer();
        // Set this up any way you want -- POST can be used for all calls, but request headers
        // cannot be set in JDK 1.0.2 so the query string still must be used to pass arguments.
        if (method==GET)
          URL url=new URL(servlet.toExternalForm()+"?"+toEncodedString(args));
          BufferedReader in=new BufferedReader(new InputStreamReader(url.openStream()));
          while ((Input_Line=in.readLine()) != null) Result_Buf.append(Input_Line+"\n");
        else     
          URLConnection conn=servlet.openConnection();
          conn.setDoInput(true);
          conn.setDoOutput(true);           
          conn.setUseCaches(false);
          // Work around a Netscape bug
          conn.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
          // POST the request data (html form encoded)
          DataOutputStream out=new DataOutputStream(conn.getOutputStream());
          if (args!=null && args.size()>0)
            out.writeBytes(toEncodedString(args));
    //        System.out.println("ServletMessage args: "+args);
    //        System.out.println("ServletMessage toEncString args: "+toEncodedString(args));     
          BufferedReader in=new BufferedReader(new InputStreamReader(conn.getInputStream()));
          while ((Input_Line=in.readLine()) != null) Result_Buf.append(Input_Line+"\n");
          out.flush();
          out.close(); // ESSENTIAL for this to work!          
        return Result_Buf.toString();               // Read the POST response data   
      // Encode the arguments in the property set as a URL-encoded string. Multiple name=value pairs are separated by ampersands.
      // @return the URLEncoded string with name=value pairs
      public String toEncodedString(Properties args)
        StringBuffer sb=new StringBuffer();
        if (args!=null)
          String sep="";
          Enumeration names=args.propertyNames();
          while (names.hasMoreElements())
            String name=(String)names.nextElement();
            try { sb.append(sep+URLEncoder.encode(name,"UTF-8")+"="+URLEncoder.encode(args.getProperty(name),"UTF-8")); }
    //        try { sb.append(sep+URLEncoder.encode(name,"UTF-16")+"="+URLEncoder.encode(args.getProperty(name),"UTF-16")); }
            catch (UnsupportedEncodingException e) { System.out.println(e); }
            sep="&";
        return sb.toString();
    }As shown above the servlet need to encode a string.
    Now my question becomes :
    <1> Is it possible to send an object to a servlet, if so how ? And at the receiving end how to get it back to an object ?
    <2> If it can't be done, how can I be sure to encode the string in the right format to send it over to the servlet ?
    Frank

Maybe you are looking for