Print out the contents present in Modal Window on a paper

Hi,
Can anyone suggest me how to take print out the contents of a HTML Modal Window.
Any Inputs on this can be appreciated.
Thanks
Ram

I tried this Finder drag method & discovered that it is very important to set the blank TextEdit document to plain text before the drag (from the format menu or with Cmd-shift-t). If you don't, TextEdit attempts to load the content of the files!
Once I discovered this, I tried the method with Find (Cmd-F) results & it works for that, too. This means that by choosing the right combination of search location(s) & search criteria, you can extend the method to filter the list to just about any files you want, which could be very handy.
For instance, set the "Kind" criteria to "QuickTime Movie" & location to "Computer" & you get a list of every QT movie. Or set the search location to the folder containing the movies of interest & you get all of them, including ones in subfolders. You could also use the 'date created' or other search criteria to filter the list to a specific subset of movies (or whatever).
If you need to do this often, you could create one or more 'Smart Folders' with the criteria preloaded for each search.
The only drawback I see for either Finder based method is the full path one. If you are getting results from just one or a few folders, Find & Replace can delete any of the path name fairly easily, but it becomes a chore if there are a lot of different ones. Some other text editor, like TexEdit Pro, that supports grep searches would be handy here, but since I'm not up to speed on grep, someone else will have to explain how to use it for this, if they want.

Similar Messages

  • How can I print out the contents of my hardrive

    I have a hardrive with about 200 video clips and need to print the titles for cross refrerencing. I was just going to "grab" screenshots but this will take about ten sheets of paper. How can I print out a list of all the files on the drive?

    I tried this Finder drag method & discovered that it is very important to set the blank TextEdit document to plain text before the drag (from the format menu or with Cmd-shift-t). If you don't, TextEdit attempts to load the content of the files!
    Once I discovered this, I tried the method with Find (Cmd-F) results & it works for that, too. This means that by choosing the right combination of search location(s) & search criteria, you can extend the method to filter the list to just about any files you want, which could be very handy.
    For instance, set the "Kind" criteria to "QuickTime Movie" & location to "Computer" & you get a list of every QT movie. Or set the search location to the folder containing the movies of interest & you get all of them, including ones in subfolders. You could also use the 'date created' or other search criteria to filter the list to a specific subset of movies (or whatever).
    If you need to do this often, you could create one or more 'Smart Folders' with the criteria preloaded for each search.
    The only drawback I see for either Finder based method is the full path one. If you are getting results from just one or a few folders, Find & Replace can delete any of the path name fairly easily, but it becomes a chore if there are a lot of different ones. Some other text editor, like TexEdit Pro, that supports grep searches would be handy here, but since I'm not up to speed on grep, someone else will have to explain how to use it for this, if they want.

  • How do i open a secured document,need to prin out the contents?

    How do I open a secured document? I need to print out the contents.

    Mail the Word document, and when you click the attachment in IOS 8 Mail, the Word document will open in Pages v2.4.2 (required for IOS 8). If password protected, you will receive a password challenge when you attempt to open the document.

  • Ready to throw the printer out the window!!!!!!!

    So i've been trying to update my portfolio and im ready to throw this printer out the window and probably never buy another HP product if someone cant help me fix this problem. Everytime i go to print whether its landscape or potrait it cuts the top of my photo off.  This is a new problem, its never happened before up until now.  I have spent days trying everything, ive tried printing it off my Samsung galaxy tab S.  My desktop.  i have tried resetting the printer, updated the software, troubleshooting, aligning, everything and have gone through $100 worth of ink to get nothing out of it.  I am very angry with this product.  what the hell is wrong with **bleep** thing?????? havent even owned it for a year!!!!!!

    Hello,  In the printing App that you are using, there should be an setting option to select the Paper Type and Size. Make sure you got that settings changed to the type and size of paper you are wanting to print on. I am not sure if you are  using the inbuilt app of Samsung to print or HP's ePrint & All in One Remote app . ? HP ePrint app is used for printing using.HP All in One Remote app is used for Scanning . Click HERE to access more info on this Apps.

  • I can't seem to Print out the Object I made in this Map. Any ideas?

    Well here's my problem I'm trying to print out the Key's and Value's associated in the following MutliMap.
    The code formating seems to screw up < and >. My datastructure is a Multi Map, the Key is a String Object and
    the Value associated with that String Key is an ArrayList of an object of type Message I defined below.
    Map<String,List<Message>> = new HashMap<String,List<Message>>();
    Here's my code for where I try to Print everything (in the function print() ) .
    The Print just either prints out the KEY and no value, if I take out my ((Message)value) cast, it will print the Message class, like
    43343@Message because I'm assuming its wondering how to Print something that is an object I defined.
    Thats why I defined my own print function and I also override the toString() function but both don't work it seems.
    package parser;
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.io.*;
    //this class should store all the Messages or "Events" and
    //you can access them based on their Serial key.
    public class MessageDB
         //database to hold the information
         //     holds the Alerts/messages
         Map<String, List<Message>> AlertMap;
         //Constructor
         MessageDB()
              AlertMap = new HashMap<String, List<Message>>();
         //print, outputs the contents of the hashMap
         public void print()
            //want to print out the Key and all the Messages
              //associated with that key
              Set keys = AlertMap.keySet();          // The set of keys in the map.
              Iterator keyIter = keys.iterator();
              System.out.println("The map contains the following associations:");
              while (keyIter.hasNext()) {
                    Object key = keyIter.next();  // Get the next key.
                    Object value = AlertMap.get(key);  // Get the value for that key.
                    System.out.println( "Serial (key): " + key + "\n");
                    System.out.println("value: " + ((Message)value).toString() + "\n");
                    //((Message)value).print();
         //overloaded print to print to user screen.
         public  void print(PrintWriter out)
              //want to print out the Key and all the Messages
              //associated with that key
              Set keys = AlertMap.keySet();          // The set of keys in the map.
              Iterator keyIter = keys.iterator();
              out.println("The map contains the following associations:");
              out.flush();
              while (keyIter.hasNext()) {
                    Object key = keyIter.next();  // Get the next key.
                    Object value = AlertMap.get(key);  // Get the value for that key.
                   //out.flush();
                   /* out.println( "   (" + key + "," + value + ")" );
                   out.flush();*/
                   // out.println("------------------\n");
                   out.println("EntityID: " + key + "\n"
                                 + "Message: " + value + "\n");
                   //out.println("------------------\n");
                   out.flush();
         void add(Message msg)
              //getting the position of the List by EntityID if avaiable
              List<Message> AlertList = AlertMap.get(msg.Serial);
              //checking to see if there is a unique Key already in the Map.
              if (AlertList == null)
                   //if there isnt a key in the map, add a new key, and a new List mapping
                   //to the key EntityID;
                     AlertList = new ArrayList<Message>();
                     AlertMap.put(msg.Serial, AlertList);
                     AlertList.add(msg);
              else
              //adding message to List
                   AlertList.add(msg);
    }Here's my message class:
    package parser;
    //this class will hold the Event/Message
    import java.util.List;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.ArrayList;
    import java.util.Set;
    import java.util.Iterator;
    public class Message {
         String Identifer;
         String Serial;
         String Node;
         String NodeAlias;
         String Manager;
         String Agent;
         String AlertGroup;
         String AlertKey;
         String Severity;
         String Summary;
         String StateChange;
         String FirstOccurance;
         String LastOccurance;
         String InternalLast;
         String EventId;
         String LocalNodeAlias;
         Message()
               Identifer = "";
               Serial = "";
               Node = "";
               NodeAlias = "";
               Manager = "";
               Agent = "";
               AlertGroup = "";
               AlertKey = "";
               Severity = "";
               Summary = "";
               StateChange = "";
               FirstOccurance = "";
               LastOccurance = "";
               InternalLast = "";
               EventId = "";
               LocalNodeAlias = "";
         void print()
              System.out.println("Identifer: " + this.Identifer + '\n'
                        + "Serial: " + this.Serial + '\n'
                        + "Node: " + this.Node + '\n'
                        + "NodeAlias: " + this.NodeAlias + '\n'
                        + "Manager: "  + this.Manager + '\n'
                        + "Agent: " + this.Agent + '\n'
                        + "AlertGroup: " + this.AlertGroup + '\n'
                        + "AlertKey: " + this.AlertKey + '\n'
                        + "Severity: " + this.Severity + '\n'
                        + "Summary: " + this.Summary + '\n'
                        + "StateChange: " + this.StateChange + '\n'
                        + "FirstOccurance: " + this.FirstOccurance + '\n'
                        + "LastOccurance: " +      this.LastOccurance + '\n'
                        + "InternalLast: " + this.InternalLast + '\n'
                        + "EventId: " + this.EventId + '\n'
                        + "LocalNodeAlias: " + this.LocalNodeAlias + '\n');
         public String toString()
              return ("Identifer: " + this.Identifer + '\n'
                        + "Serial: " + this.Serial + '\n'
                        + "Node: " + this.Node + '\n'
                        + "NodeAlias: " + this.NodeAlias + '\n'
                        + "Manager: "  + this.Manager + '\n'
                        + "Agent: " + this.Agent + '\n'
                        + "AlertGroup: " + this.AlertGroup + '\n'
                        + "AlertKey: " + this.AlertKey + '\n'
                        + "Severity: " + this.Severity + '\n'
                        + "Summary: " + this.Summary + '\n'
                        + "StateChange: " + this.StateChange + '\n'
                        + "FirstOccurance: " + this.FirstOccurance + '\n'
                        + "LastOccurance: " +      this.LastOccurance + '\n'
                        + "InternalLast: " + this.InternalLast + '\n'
                        + "EventId: " + this.EventId + '\n'
                        + "LocalNodeAlias: " + this.LocalNodeAlias + '\n');
    }I'm correctly populating my Messages sent to me from the client, I tested it and it works but iterating over them once the messages are inserted into the map is my issue.
    I'm not getting an error, just no output for the values
    here's how I'm adding the Messages to the MessageDB
    //This string is coming from a client
    String str = in.readLine();
    // creating a scanner to parse
    Scanner scanner = new Scanner(str);
    Scanner scannerPop = new Scanner(str);
    //Creating a new message to hold information
    Message msg = new Message();
    //place Scanner object here:
    MessageParser.printTokens(scanner);
    MessageParser.populateMessage(scannerPop, msg);
    System.out.println("-------PRINTING MESSAGE------\n");
    msg.print();
    System.out.println("----------END PRINT----------\n");
    System.out.println("-------Accessing data from Map----\n");
    MessageDB testDB = new MessageDB();
    testDB.add(msg);
    testDB.print();I know this code is ugly, I should make accessor and modifer functions for my Message class but for now I'm just trying to see if I this method is even going to work then I'm going to go about making it more protected.
    Also here is my output:
    that long mess is the incoming string from the client, and im parsing it up into tokens and assigning my message object certain values.
    Address of server: 0.0.0.0/0.0.0.0
    Server is bound to port: 2222
    Echo :UPDATE: "GATEWAY:@barneyfifedisconnectedMon Jun 11 16:46:12
    2007",446,"barneyfife","","ConnectionWatch","","Gateway","GATEWAY:",0,"A
    GATEWAY process  running on barneyfife has disconnected as username
    gateway",06/11/07 16:50:12,06/11/07 16:46:12,06/11/07 16:46:12,06/11/07 16:46:12,0,1,1,0,0,"",65534,0,0,0,"",0,0,0,"","",0,0,"",0,"",0,0,"","","","","","","","",0,
    0,"","","NCOMS",446,""
    Token [0]UPDATE: "GATEWAY:@barneyfifedisconnectedMon Jun 11 16:46:12 2007"
    Token [1]446
    Token [2]"barneyfife"
    Token [3]""
    Token [4]"ConnectionWatch"
    Token [5]""
    Token [6]"Gateway"
    Token [7]"GATEWAY:"
    Token [8]0
    Token [9]"A GATEWAY process  running on barneyfife has disconnected as username gateway"
    Token [10]06/11/07 16:50:12
    Token [11]06/11/07 16:46:12
    Token [12]06/11/07 16:46:12
    Token [13]06/11/07 16:46:12
    Token [14]0
    Token [15]1
    Token [16]1
    Token [17]0
    Token [18]0
    Token [19]""
    Token [20]65534
    Token [21]0
    Token [22]0
    Token [23]0
    Token [24]""
    Token [25]0
    Token [26]0
    Token [27]0
    Token [28]""
    Token [29]""
    Token [30]0
    Token [31]0
    Token [32]""
    Token [33]0
    Token [34]""
    Token [35]0
    Token [36]0
    Token [37]""
    Token [38]""
    Token [39]""
    Token [40]""
    Token [41]""
    Token [42]""
    Token [43]""
    Token [44]""
    Token [45]0
    Token [46]0
    Token [47]""
    Token [48]""
    Token [49]"NCOMS"
    Token [50]446
    Token [51]""
    Entering populate mssage inside case 0
    case 0: UPDATE: "GATEWAY:@barneyfifedisconnectedMon Jun 11 16:46:12 2007"
    case 1: 446
    case 2: "barneyfife"
    case 3: ""
    case 4: "ConnectionWatch"
    case 5: ""
    case 6: "Gateway"
    case 7: "GATEWAY:"
    case 8: 0
    case 9: "A GATEWAY process  running on barneyfife has disconnected as username gateway"
    case 10: 06/11/07 16:50:12
    case 11: 06/11/07 16:46:12
    case 12: 06/11/07 16:46:12
    case 13: 06/11/07 16:46:12
    DEFAULT: 0
    DEFAULT: 1
    DEFAULT: 1
    DEFAULT: 0
    DEFAULT: 0
    DEFAULT: ""
    DEFAULT: 65534
    DEFAULT: 0
    DEFAULT: 0
    DEFAULT: 0
    case 24: ""
    DEFAULT: 0
    DEFAULT: 0
    DEFAULT: 0
    DEFAULT: ""
    DEFAULT: ""
    DEFAULT: 0
    DEFAULT: 0
    DEFAULT: ""
    DEFAULT: 0
    DEFAULT: ""
    DEFAULT: 0
    DEFAULT: 0
    case 37: ""
    DEFAULT: ""
    DEFAULT: ""
    DEFAULT: ""
    DEFAULT: ""
    DEFAULT: ""
    DEFAULT: ""
    DEFAULT: ""
    DEFAULT: 0
    DEFAULT: 0
    DEFAULT: ""
    DEFAULT: ""
    DEFAULT: "NCOMS"
    DEFAULT: 446
    DEFAULT: ""
    -------PRINTING MESSAGE------
    Identifer: UPDATE: "GATEWAY:@barneyfifedisconnectedMon Jun 11 16:46:12 2007"
    Serial: 446
    Node: "barneyfife"
    NodeAlias: ""
    Manager: "ConnectionWatch"
    Agent: ""
    AlertGroup: "Gateway"
    AlertKey: "GATEWAY:"
    Severity: 0
    Summary: "A GATEWAY process  running on barneyfife has disconnected as username gateway"
    StateChange: 06/11/07 16:50:12
    FirstOccurance: 06/11/07 16:46:12
    LastOccurance: 06/11/07 16:46:12
    InternalLast: 06/11/07 16:46:12
    EventId: ""
    LocalNodeAlias: ""
    ----------END PRINT----------
    -------Accessing data from Map----
    The map contains the following associations:
    Serial (key): 446As you see it is printing the correct Serial, but it seems like it isn't even entering into the printing the value associated with that key.
    NOTE: if you need more code I can supply my parsing functions as well.
    Thanks!
    Message was edited by:
    lokie
    NOTE: the code formating screws up the < >
    it should be HashMap<String,List<Message>>();
    Message was edited by:
    lokie
    Message was edited by:
    lokie
    Message was edited by:
    lokie

    Thanks Good Idea :)
    Heres a small version of the same problem:
    MainTest
    package ds;
    public class MainTest {
         public static void main(String []args)
              //create a new message object, assign it some values.
              //note: Serial is the key to the map.
              Message m1 = new Message();
              m1.Identifer = "Test Message";
              m1.Serial = "222";
              m1.Agent = "AgentTest";
              m1.Identifer = "IdentiferTest";
              //test to see if it assigned right.
              m1.print();
              //insert into a map
              MessageDB dbTest = new MessageDB();
              dbTest.add(m1);
              //print key/values
              dbTest.print();
    }Here is the 2 classes that I use, Message and MessageDB.
    The problem is in the MesesageDB i'm getting the following error:
    Exception in thread "main" java.lang.ClassCastException: java.util.ArrayList cannot be cast to ds.Message
         at ds.MessageDB.print(MessageDB.java:43)
         at ds.MainTest.main(MainTest.java:28)
    package ds;
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.io.*;
    //this class should store all the Messages or "Events" and
    //you can access them based on their Serial key.
    public class MessageDB
         //database to hold the information
         //     holds the Alerts/messages
         Map<String, List<Message>> AlertMap;
         //Constructor
         MessageDB()
              AlertMap = new HashMap<String, List<Message>>();
         //print, outputs the contents of the hashMap
         public void print()
            //want to print out the Key and all the Messages
              //associated with that key
              Set keys = AlertMap.keySet();          // The set of keys in the map.
              Iterator keyIter = keys.iterator();
              System.out.println("The map contains the following associations:");
              while (keyIter.hasNext()) {
                    Object key = keyIter.next();  // Get the next key.
                    Object value = AlertMap.get(key);  // Get the value for that key.
                    System.out.println( "Serial (key): " + key + "\n");
                    System.out.println("value: " + ((Message)value) + "\n");
                    //((Message)value).print();
         ///adds a message (value) to the map, along with the key.
         void add(Message msg)
              //getting the position of the List by EntityID if avaiable
              List<Message> AlertList = AlertMap.get(msg.Serial);
              //checking to see if there is a unique Key already in the Map.
              if (AlertList == null)
                   //if there isnt a key in the map, add a new key, and a new List mapping
                   //to the key EntityID;
                     AlertList = new ArrayList<Message>();
                     AlertMap.put(msg.Serial, AlertList);
                     AlertList.add(msg);
              else
              //adding message to List
                   AlertList.add(msg);
    }Here is the message class you'll need to use to compile:
    package ds;
         public class Message {
              String Identifer;
              String Serial;
              String Node;
              String NodeAlias;
              String Manager;
              String Agent;
              Message()
                    Identifer = "";
                    Serial = "";
                    Node = "";
                    NodeAlias = "";
                    Manager = "";
                    Agent = "";
              void print()
                   System.out.println("Identifer: " + this.Identifer + '\n'
                             + "Serial: " + this.Serial + '\n'
                             + "Node: " + this.Node + '\n'
                             + "NodeAlias: " + this.NodeAlias + '\n'
                             + "Manager: "  + this.Manager + '\n'
                             + "Agent: " + this.Agent + '\n');
              public String toString()
                   return ("Identifer: " + this.Identifer + '\n'
                             + "Serial: " + this.Serial + '\n'
                             + "Node: " + this.Node + '\n'
                             + "NodeAlias: " + this.NodeAlias + '\n'
                             + "Manager: "  + this.Manager + '\n'
                             + "Agent: " + this.Agent + '\n');
         }It doesn't like this line as I suspected:
    System.out.println("value: " + ((Message)value) + "\n");

  • Why can't I print out the body of my emails,they come out with the right missing.

    When ever I try to print out my emails(gmail) everything under the Mail column prints,but the right side is missing. I have tried everything I know and nothing works. I can't move it over and I can use the print selection. Also I can't print out the entire email if it is more than 1 page.

    First try to reset Firefox printer settings, if you are still unable to print you can then reset '''all '''firefox printer settings.
    ''Reset firefox printer settings:''
    1. In the Location bar, type about:config and press Enter.
    2. In the Filter field, type print.print_printer.
    3. Right-click on the print.print_printer setting and select Reset.
    4. At the top of the Firefox window, click on the Firefox button (File menu in Windows XP) and then click Exit.
    ''The first way was just simple reset of firefox printer settings. However, if it failed to solve the problem then you need a full reset of all firefox printer settings. ''
    1. Open your profile folder: At the top of the Firefox window, click on the Firefox button, go over to the Help menu (on Windows XP, click on the Help menu) and select Troubleshooting Information. The Troubleshooting Information tab will open.
    2. Under the Application Basics section, click on Open Containing Folder. A window with your profile files will open. Note: If you are unable to open or use Fire​fox, follow the instructions in Finding your profile without opening Firefox.
    3. At the top of the Firefox window, click on the Firefox button (File menu in Windows XP) and then click Exit.
    4. In your profile folder, copy the prefs.js file to another folder to make a backup of it.
    5. Open the original prefs.js file in a text editor (such as Wordpad).
    6. Remove all lines in prefs.js that start with print. and save the file.
    See:
    [[Firefox prints incorrectly]]

  • I can't get my printer to print out the claim code. HP7520-e All in one

    Whenever I press the web icon on my printer, it gives me the printers email address, but there is no place to press to get it to print out a claim code.

    I can't get my HP Photosmart 7520 e-All-in-One to print out the claim code, either.  I have had problems ever since they switched from ePrintCenter to HP Connected.
    This is my second HP Photosmart 7520 e-All-in-One, the first one quit printing and they said I would have to buy a new Printhead Assembly ($73.30), and throw away my partially used ink cartridges and buy new ones ($104 to replace my 5 HP 564XL High Yield Original Ink Cartridges!) It made more sense to buy whole a new printer for $200!
    A. I found it at <http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&dlc=en&docname=c03379963&lc=en&product=5199463&tmp... under FAQs !!! 
    Truncated piece: product=5199463&tmp_track_link=ot_search#N632>
    See below:
    =======================================================================================
    What if I lose my printer code before registering?
    If you lose your printer code before registering your printer, you can print a new information page to secure a new printer code. Use the following steps to disable and re-enable Web Services to print a new information page.
    On the printer control panel, touch the Web Services icon (). The Web Services window opens.
    Touch Settings, touch Remove Web Services, and then touch Yes.
    Touch the Web Services icon () again. The Web Services window opens.
    Touch Settings, and then touch Enable Web Services.
    Touch Yes to accept the terms of use. The printer prints an information page.
    If the printer does not print an information page, touch Print Report.
    NOTE:The information page contains the printer claim code that you use to register your printer.
    =======================================================================================
    It printed out a page titled: Make the Most of Your Printer
    The printer's claim code is in item number 3.

  • Anyone has print out the iPhoto album book by apple after finish editing? May I check is the quality good? I have compiled my photo album book , choosen hard cover option , 100 pages , estimated cost is US150. Not sure worth to print out or not?

    Anyone has print out the iPhoto album book by apple after finish editing? May I check is the quality good? I have compiled my photo album book , choosen hard cover option , 100 pages , estimated cost is US150. Not sure worth to print out or not?

    All I can say is the books I've created as gifts to my children for their children were received with absolute joy and appreciation (each book chronicled in pictures  the first year of each grandchild's life). Granted the sentimental factor had a lot to do with the recipient's enjoyment of the book but they were spetacular. The book with its glossy dust cover is a very impressinve way to present your photos. 
    As Larry has pointed out so many have posted here that they were very satisfried with their book and Apple is very good about correcting problems. 
    To make sure there are no errors in the book before you order preview the book as described in this Apple document: iPhoto '11: Preview a book, card, or calendar before you order or print it. If the PDF file shows no errors, either in text typos (my biggest problem) or in missing photos, etc., the printed book will be error free.
    OT

  • How to easily print out the tutorial

    Is there an easy way to print out the entire tutorials that
    are available on the adobe site? It's easier for me to follow a
    tutorial on paper next to me then to open two window on my computer
    screens and follow on the screens. Thank you.

    File > Print ?
    I don't know the tutorials you are talking about, but you can
    print most
    articles. Check for a printer-friendly version. Or, post a
    URL if you
    don't get the answer you are looking for and I'll tell you
    how to print it.
    Tony

  • How to print out the data from the file ?

    hi all,
    i have upload my file to here :
    [http://www.freefilehosting.net/ft-v052010-05-09 ]
    anyone can help me to print out the data from the file ?
    the content of the file should be like this :
    185.56.83.89 156.110.16.1 17 53037 53 72 1
    and for the seven column is
    srcIP dstIP prot srcPort dstPort octets packets

    hi all,
    i have try to do this
    public static void Readbinary() throws Exception
              String file = "D:\\05-09.190501+0800";
              DataInputStream dis = new DataInputStream(new FileInputStream(file));
              //but then how to read the content ??????can you give me more hint ?????
    i have find the netflow v5 structure by C
    struct NFHeaderV5{
    uint16_t version; // flow-export version number
    uint16_t count; // number of flow entries
    uint32_t sysUptime;
    uint32_t unix_secs;
    uint32_t unix_nsecs;
    uint32_t flow_sequence; // sequence number
    uint8_t engine_type; // no VIP = 0, VIP2 = 1
    uint8_t engine_id; // VIP2 slot number
    uint16_t reserved; // reserved1,2
    struct NFV5{ 
    ipv4addr_t srcaddr; // source IP address
    ipv4addr_t dstaddr; // destination IP address
    ipv4addr_t nexthop; // next hop router's IP address
    uint16_t input; // input interface index
    uint16_t output; // output interface index
    uint32_t pkts; // packets sent in duration
    uint32_t bytes; // octets sent in duration
    uint32_t first; // SysUptime at start of flow
    uint32_t last; // and of last packet of flow
    uint16_t srcport; // TCP/UDP source port number or equivalent
    uint16_t dstport; // TCP/UDP destination port number or equivalent
    uint8_t pad;
    uint8_t tcp_flags; // bitwise OR of all TCP flags in flow; 0x10
    // for non-TCP flows
    uint8_t prot; // IP protocol, e.g., 6=TCP, 17=UDP, ...
    uint8_t tos; // IP Type-of-Service
    uint16_t src_as; // originating AS of source address
    uint16_t dst_as; // originating AS of destination address
    uint8_t src_mask; // source address prefix mask bits
    uint8_t dst_mask; // destination address prefix mask bits
    uint16_t reserved;
    but how to translate the structure to java,then get the data from the file ?
    Edited by: 903893 on Dec 21, 2011 10:52 PM

  • Print out the right colors

    Hello
    How do I get my printer (HP Color LaserJet 2550 PCL 6) to print out the colors that my monitor shows. I use windows XP and dell monitor
    sincerely

    The troubleshooting steps in this page may help.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • How can i print out the waveform chart?

      hello everybody,
    how can i print out the "waveform chart". can i do it just push the button. ( example; stop button is stop the program etc..)
    i checked the NI examples but i can't understand. i'm new to the Labview.
    pls help me.
    i added the my program
    look forward your reply
    regards from turkey...
    Message Edited by hknmkt on 05-29-2008 04:15 AM
    Attachments:
    29.05.2008_11.vi ‏37 KB

        hi jim,
    i tried the program but it's not running. When i run the program, it's print out without run the program
    i added the printed file.
    look forward your reply
    hakan
    Attachments:
    error8.JPG ‏8 KB

  • I am trying to print a PDF file to a legal size paper and I would like for it to fill up the page. How do I do this? I went into the settings and changed it from letter to legal, but it's still printing out the same size. Can someone help me, please?

    I am trying to print a PDF file to a legal size paper and I would like for it to fill up the page. How do I do this? I went into the settings and changed it from letter to legal, but it's still printing out the same size. Can someone help me, please?

    Are you trying to Print to PDF or are you trying to Print a PDF file to a physical printer?

  • How do I  print out the attributes of objects from a  Vector?  Help !

    Dear Java People,
    I have created a video store with a video class.I created a vector to hold the videos and put 3 objects in the vector.
    How do I print out the attributes of each object in the vector ?
    Below is the driver and Video class
    Thank you in advance
    Norman
    import java.util.*;
    public class TryVideo
    public static void main(String[] args)
    Vector videoVector = new Vector();
    Video storeVideo1 = new Video(1,"Soap Opera", 20);
    Video storeVideo2 = new Video(2,"Action Packed Movie",25);
    Video storeVideo3 = new Video(3,"Good Drama", 10);
    videoVector.add(storeVideo1);
    videoVector.add(storeVideo2);
    videoVector.add(storeVideo3);
    Iterator i = videoVector.interator();
    while(i.hasNext())
    System.out.println(getVideoName() + getVideoID() + getVideoQuantity());
    import java.util.*;
    public class Video
    public final static int RENT_PRICE = 3;
    public final static int PURCHASE_PRICE = 20;
    private int videoID;
    private String videoName;
    private int videoQuantity;
    public Video(int videoID, String videoName, int videoQuantity)
    this.videoID = videoID;
    this.videoName = videoName;
    this.videoQuantity = videoQuantity;
    public int getVideoID()
    return videoID;
    public String getVideoName()
    return videoName;
    public int getVideoQuantity()
    return videoQuantity;
    }

    Dear Bri81,
    Thank you for your reply.
    I tried the coding as you suggested
    while(i.hasNext())
    System.out.println( i.next() );
    but the error message reads:
    "CD.java": Error #: 354 : incompatible types; found: void, required: java.lang.String at line 35
    Your help is appreciated
    Norman
    import java.util.*;
    public class TryCD
       public static void main(String[] args)
         Vector cdVector = new Vector();
         CD cd_1 = new CD("Heavy Rapper", "Joe", true);
         CD cd_2 = new CD("Country Music", "Sam", true);
         CD cd_3 = new CD("Punk Music", "Mary", true);
         cdVector.add(cd_1);
         cdVector.add(cd_2);
         cdVector.add(cd_3);
         Iterator i = cdVector.iterator();
         while(i.hasNext())
           System.out.println( i.next() );
    public class CD
       private String item;
       private boolean borrowed = false;
       private String borrower = "";
       private int totalNumberOfItems;
       private int totalNumberOfItemsBorrowed;
       public CD(String item,String borrower, boolean borrowed)
         this.item = item;
         this.borrower = borrower;
         this.borrowed = borrowed;
       public String getItem()
         return item;
       public String getBorrower()
         return borrower;
       public boolean getBorrowed()
         return borrowed;
       public String toString()
          return System.out.println( getItem() + getBorrower());

  • How do I print out the value returned by a method in main??

    I'm a total newbie at java, I want to know how I can print out the value returned by this function in the "Main" part of my class:
    public int getTotalPrice(int price)
    int totalprice=price+(price*0.08);
    return totalprice;
    I just want to know how to print out the value for total price under "public static void main(String[] args)". thanks in advance,
    Brad

    Few ways you could do it, one way would be to create an instance of the class and call the method:
    public class Test
        public double getTotalPrice(int price)
            double totalprice = price + (price * 0.08);
            return totalprice;
        public static void main(String[] args)
            Test t = new Test();
            System.out.println(t.getTotalPrice(52));
    }Or another would be to make getTotalPrice() static and you could call it directly from main.

Maybe you are looking for

  • I Cant Open my iTunes all together error 7 (windows error 998)

    hello, i cant get my itunes to open i don't know what i did i might have deleted something i shouldn't have and this happend, when i try to open itunes it says: _*itunes was not installed correctly. please reinstall itunes. Error 7 (windows error 998

  • Why is my wireless mouse lagging after bootcamp install?

    Hi all, I'm running OS X 10.9.5 and I recently partitioned my hard drive so that I'd be able to run a specific statistical program on Windows. Everything went smoothly, and Windows is up and running. However, I noticed that once everything was finish

  • CSS issue when changing the table row height to 16px

    Hello, After changing the table row height through css like this: .table-row-cell, .table-cell { -fx-cell-size: 16; the table rows are correctly displayed with a 16px height but the cell bottoms seem to be incorrectly set. For example the following c

  • Controlling Join Path in OBIEE

    I have a dimension table that is the central "hub" of our physical data model. That dimension is joined to 4 different fact tables. I have a query/graph from a previous project release (all was working fine) that only references 2 of those fact table

  • References​: Appearance different in Developmen​t System and in Run Time System

    I noticed a difference the references appearance in Development System and in Run Time System.  It seems to have no effect in the executable version but, per curiosity, someone have an explanation? Development System Run Time System Jean-Marc Jean-Ma