Storing data in Array or StringBuffer and then comparing it to a string

I want to store some data in a list or an Array (but apparently an Array only holds 10 items?) and then I want to be able to check if myString is equal to any of the posts in the array/list.
Or if I use a StringBuffer I want to check to see if myString is part of the StringBuffer?
How do I do this?
/ Elin

I want to store some data in a list or an Array (but
apparently an Array only holds 10 items?)Uh, no. Arrays can (theoretically) contain Integer.MAX_VALUE elements.
and then I want to be able to check if myString is equal to any
of the posts in the array/list.Don't confuse String's equals() method with the equality operator '=='. The == operator checks that two references refer to the same object. If you want to compare the contents of Strings (whether two strings contain the same character sequence), use equals(), e.g. if (str1.equals(str2))...
Example:String s1 = "foo";
String s2 = new String("foo");
System.out.println("s1 == s2: " + (s1 == s2)); // false
System.out.println("s1.equals(s2): " + (s1.equals(s2))); // trueFor more information, check out Comparison operators: equals() versus ==
Or if I use a StringBuffer I want to check to see if
myString is part of the StringBuffer?See above discussion on .equals().
How do I do this?
Here are some other resources to help you get started with Java.
The Java™ Tutorial - A practical guide for programmers
Essentials, Part 1, Lesson 1: Compiling & Running a Simple Program
New to Java Center
How To Think Like A Computer Scientist
Introduction to Computer Science using Java
The Java Developers Almanac 1.4
JavaRanch: a friendly place for Java greenhorns
jGuru
Bruce Eckel's Thinking in Java
Joshua Bloch's Effective Java
Bert Bates and Kathy Sierra's Head First Java

Similar Messages

  • Having problem with storing data in array

    Hi,
    I'm having problem on storing data in array. My problem is that each time it loops, the array just keep overwrite instead save to the next index. Like at 0 the value is 123, and 1 is 234. But i having that all data capture all overwrite at 0 till the last data it still show at 0. How do i correct this problem?
    Solved!
    Go to Solution.

    How to use array to do comparison? Like Array 1 go thru array 2 to get data Loss out and build an array. Like Array 1 ,1000,1024,1048,etc before 1520 fall in between Array 2 range 1000-1500. So Freq 1000,1024,1048 etc will get Loss value as 1 and 1520 fall in between 1500-2000 will output Loss 2. and so on till the end of the list. How should do this? Need help on this.
    Array 1                                                Array 2
    Freq                                              ​     Freq   Loss
    1000                                              ​    1000      1
    1024                                              ​    1500      2
    1048                                              ​    2000      3
    1100                                              ​     :
    1200                                              ​     :
    :                                                 ​        18000
    1520
    18000

  • When I OCR two versions of the same document and then compare th documents in Acrobat Pro XI, I usually get the message that there are no changes to mark.  However, I know there a quite a few number of changes.  I raised this question more than a year ago

    When I OCR two versions of the same document and then compare the documents in Acrobat Pro XI, I usually get the message that there are no changes to mark.  However, I know there a quite a few number of changes.  I raised this question more than a year ago, and the response I received had to do with the quality of the OCR and the scans of the documents.  However, if I use Acrobat Pro XI to save the same documents in Word and then run a comparison in Word all of the changes are marked.  When a PDF is saved as a Word document in Acrobat Pro XI, is a different OCR module being used than the one used in Acrobat Pro XI for text recognition?

    OCR is only for recoginition of the image / picture of text provided by an scanner.
    Content typed into a Word file which is converted to a PDF is (in Word and in PDF) *not* an image  or picture of text - it is the digital text. So, no OCR involved.
    When the "digital" (renderable) text of a PDF's page content is exported to Word no OCR is involved.
    When a PDF's content is from the image output of a scanner and this is a picture of text then OCR comes into play.
    If this content is exported to Word before doing OCR then it is the image that is exported to the Word file.
    Once OCR is performed it is the OCR output that is exported.
    OCR output is (always will be) impacted by "the quality of the OCR and the scans of the documents". 
    Regardless "Compare" is based on a Word file output to PDF1 then edits to the Word file followed by an output to PDF2. You use Acrobat Pro to do a compare of PDF1 & PDF2.
    Paper 1 scanned to image 1 to image 1 in PDF1 that gets OCR 1 and
    Paper 2 scanned to image 2 to image 2 in PDF2 that gets OCR 2
    being processed with Acrobat Pro's Compare can certainly be done.
    But - well you've described what can be observed.
    Be well...

  • Preprocessor command, assigned the variable and then compare the variable to int. How can I get around this?

    #define ON 1
    #define OFF 0
    in seperate code
    int variable = ON;
    variable is globally define for that module.
    in seperate code
    if (variable == ON)
    the complier errors off on the if (variable==ON)
    My guess variable is variable in of type int and ON is a preprocessor command. Therefore it is a mismatch and complier doesn't like it. How can I get around this.
    thank
    Mahen

    Mahen
    What is the exact message of the compiler?
    I think the error is, that the compiler does not find the definition of ON
    and OFF. Is it in the same source file?
    If not, try to put it into an .h file and include it where you need it.
    Stephan
    "Mahen" schrieb im Newsbeitrag
    news:[email protected]..
    > Preprocessor command, assigned the variable and then compare the
    > variable to int.
    >
    > How can I get around this?
    >
    > #define ON 1
    > #define OFF 0
    > in seperate code
    >
    > int variable = ON;
    > variable is globally define for that module.
    > in seperate code
    > if (variable == ON)
    > {
    >
    >
    > }
    >
    > the complier errors off on the if (variable==ON)
    > My guess variable is variable in of type int and ON is a preprocessor
    > c
    ommand. Therefore it is a mismatch and complier doesn't like it. How
    > can I get around this.
    > thank
    > Mahen

  • Reading lines and then comparing them

    Hi,
    I want to read two lines of a single file and then compare them. Right now, I've implemented:
    String line = null;
    String currentLine = null;
    String prevLine = null;
    BufferedReader bf = new BufferedReader(new FileReader(fileA));
    while ((line=bf.readLine()) != null)
                currentLine = line;
                prevLine = line;
            }I understand that this code returns the same line, but I was just hoping that maybe someone could point me in the right direction. Thanks in advance.

    800343 wrote:
    remember to use .equals() for equality comparisons. For comparing objects' states (contents), yes, absolutely. That's what it's for.
    The == tends to act funny, even in situations where it should obviously work.No it doesn't. It works exactly as it's supposed to. It compares the value on the left side to the value on the right side. Always. Whether those values are primitives or references, it behaves the same way.

  • Storing data in arrays and using Stirng methods

    Hi There!
    Could any one help me in developing a kind of "PhoneBook" in java?
    Coding for the following program is required in java(jdk1.2).
    The problem is to program a PhoneBook in the following way when the program executes
    A list of following option will be displayed for the user to select from
    a- Enter new Name/Phonenumber
    b-Delete an Entry from the PhoneBook
    c- Dispaly the existing Data(Names with associated
    PhoneNumbers.
    d-Exit the program
    Based on the options selected by the user , the program will perform required task
    The data will be stored in arrays of some kind.
    To perfom the functions selected by the user String methods (charAT(), indexOf etx) will be used
    For search function character search is allowed e.g if the user enters the name "Smith" whose phonenumber will be searched for in the PhoneBook, after enterin just "sm", all the enteries starting with sm and their associated phonenumbers will be displayed.
    The records will be displayed in the following way
    a Smith 111-4444
    b Albert 222-6666
    Please help me I will be very thank ful.

    Shall we say 'its' instead???
    From the format of its post...
    Doesn't sound really good, but if the female are
    offended...
    :-)Well ... we had that once before ... she was offended .. kinda .... Don't know about Saadia ... so far she's looking for a solution I guess, once she has that .. than she'll think about "other" things! :-)
    But to answer your question, you can use he/she. Is that too much extra typing? I guess, the posters also can add a (Mr./Miss) to their names ... if they care ... actually that's what I suggested this other lady to do! :-)
    (Mr.) Kamran Aftab

  • All my data shifts to "Other" category and then won't re-connect to iTunes.

    Hi,
    This will be hard to explain. I've been using my laptop to connect through iTunes on Vista for the last seven months, and no problems have occurred at all. I have 80gb+ data combined with music and video on my iPod, but all of a sudden when I went to sync my iPod with iTunes, the USB connects and the iPod reads as "Connected," but iTunes won't recognize.
    Then when I disconnect the cable, iTunes appears with the following message: "iTunes cannot read the contents of the iPod. Go to the Summary tab in iPod preferences and click Restore to restore this iPod to factory settings.
    And I would LOVE to do that, but I've already needed to disconnect the USB to the iPod because iTunes wouldn't recognize it until after it was already disconnected.
    I'm at a loss for words here because I've been an iPod user for three years now, and I've never had this happen to me before. I would gladly Restore my iPod if only I knew how to have iTunes recognize the iPod.
    Can anybody assist me with this? I really need it, thank you.

    I still don't know what the cause was for all my data suddenly shifting to "Other," therefore making it unwatchable and me unable to listen to the music, but I decided to go into the iPod manually from "My Computer," and click on the iPod drive that opens a number of other menus (such as Notes, Calenders, etc.; just the basic selections within the iPod itself).
    When I clicked the drive and was looking at the options, I highlighted them all -- with iTunes still running -- and deleted them. Eventually, the iPod was finally recognized by iTunes, and so I cancelled the delete, and was able to click "Restore" when the iPod was at last recognized.
    It's syncing all my music and videos back up now, so I'm happy. It might not have been the safest thing to do to the iPod, risking permanent deletion of certain necessary files that could render it useless in the end, but I was desperate and thankfully when the iPod was restored all the files I had previously deleted were created again, making the whole decision quite successful (thus far.)
    Thanks.
    Message was edited by: undefinability
    null

  • How to convert a string to date and then compare it with todays date???

    Hello.
    I want to set a format first for my dates
    DateFormate df = new SimpleDateFormate("yyyy-mm-dd");
    once this is done then I want to convert any string to date object in the above formate
    String str="2001-07-19";
    Date d = null;
    try{
    d = df.parse(s);
    }catch(ParseException pe) {
    pe.printStackTrace();
    First of all there is something wrong above,cus what I get for this is
    Fri Jan 19 00:07:00 MST 2001
    where as it should have been
    2001-07-19... to my understanding.
    once this part is done I need to get current date in the above set format and compare the
    current date and the date I set.
    I will appreciate the help.
    Thanks

    for the output part:
    a date is a point in time
    the output depends on the format you specify for output
    using for example a SimpleDateFormat.
    You only specified the format for parsing (which is independent for that of output) so java uses some default format ... see the DateFormat.format() method for details.
    for the comparison stuff, I just posted a little code snippet in this forum a few minutes ago.
    the hint is: Date.getTime() returns milliseconds after a fixed date
    hth Spieler

  • How compare data from 2 different ODS and then load data to Cube

    Hello, everybody,
    I  have 2 ODS ZINFO_1 and  ZINFO_2. These ODS contain data:
    ZINFO_1
    document number; item number; amount
    10004;1;200
    10004;3;330
    10004;4;650
    10005;1;110
    ZINFO_2
    document number; item number; amount
    10004;1;700
    10004;4;430
    After comparison ODS ZINFO_1 with ZINFO_2, into InfoCube ZICINFO_3 I have get data from ODS ZINFO_1 that document number and item number is not equal to ZINFO_2 ODS’s document number and item number.
    Data in InfoCube ZICINFO_3 should be:
    ZICINFO_3
    document number; item number; amount
    10004;3;330
    10005;1;110
    Could you give me suggestions how do this?
    Thanks in advance.
    Best Regards,
    Arunas Stonys

    Most of the time you write a routine in the update rule and you want to read a table or ODS to look up for that particular field you are intersted in, if you are doing reading the table or DSO in the update rule, it will execute for each and every record, but you do reading the table in the start routine which will get executed for each data package and in your update rule, you read the internal table to put your logic.     
    The Start rouline can be as follows
    Please do modify this routline for ur requirement
    Another situation where I am loading DATA from DSO 1 to DSO 2 and looking for Records from DSO3 and DSO4.
    DSO1---->DSO2(looking up data from DSO3 and DSO4 to update to DSO2).
    NOw in the start routine I define 2 internal tables for DSO3 and DSO4 having sturctures like DSO3 and DSO4(with only useful fields and key fields,becoz u may not need all the fields from dSO3 and DSO4 afterall)
    Now I am loading data in those interanal tables by using SELECT Query in START routine.
    Now In various transformatino rule for populating different target fields I am reading those internal tables(itab_dso3 and itab_dso4) putting the read and where condition like
    Code for field Z(of DSO2)
    Read fieldX fieldY fields Z from itab_dso3 into wa_dso3 with key fieldsX=source_fields-fieldsx fieldY=source_fields-fieldsy.
    if sy-subrc eq 0.
    result = wa_dso3-fieldz
    endif.
    (here i am reading the itab loaded in start routine and reading it with the help of two source fields(dso1 fields fieldX and fieldY ) and comparing them with DSO3 .If there is a match then I am udpating fieldz of DSO2 with fieldZ from DSO3.)
    Please do assign points if it is needful.
    Thanks in advance.
    Best WIshes,
    VVenkat.

  • Create RFQ based on data supplied by excel document and then create PO

    Hello Experts,
    I have an requirement to create following scenario.
    1. User will upload "Requirement Endorsement Sheet "  which contains items and qty in an excel format and this has to be sent to workflow user.
    2. Workflow user must able to create RFQ based on the excel document sent in the first step by auto populating item and item qty fields in RFQ.
    3.  Last step is to create PO based on RFQ created in step 2.
    I would like to know whether any SAP standard BAPIs can help to create RFQ adn then using RFQ data create PO.
    Appreciate if you can provide some tips for building the above solution.
    Regards
    Krishna

    In your 2nd step the User will manually enter and or it needs to be auto populated. If it requires auto population of RFQ I think you can use standard method. Just search for Business object of RFQ by doing a F4 in SWO1.
    Thanks
    Arghadip

  • Converting from spreadshet string to array and then back to spreadsheet string

    My questions is; why is the Spreadsheet string to array function creating more data than the original string had when you change the array back into a spreadsheet string. Im trying to analyze a comma delimited file using array functions since my column and row size is constant, but my data varies. Thus my reason for not using string parsing functions which would get more involved and difficult. So, however, after i convert to a 2D array of data from the comma delimited file I read from, and then I convert back to string using the Array to Spreadsheet String, I get added columns to the file, which prevents another program from receiving these files. Also, the data which I am reading is not all contiguous, it has gaps in some places for empty data. Looking at the file compared to the original after it has gone from string to array and then back to string again, looks almost identical except for the file size which got larger by 400 bytes and where the original file has empty spaces, the new file has a lot of commas added. Any idea?
    Charles

    The result you get is normal when the spreadsheet string contains rows of uneven length. Since the array rows have the same number of elements, nil values are added during the coonversion. And of course, the back to string conversion keep those added values in the string, with the associated commas.
    example : 3 x 3 array
    1,2,3
    4
    5,6,7
    is converted into
    1 2 3
    4 0 0
    5 6 7
    then back to
    1,2,3
    4,0,0
    5,6,7
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • I want to upgrade iOS from 5 to 6, but when I go to synch everything in preparation, it tells me I will lose all my stuff on the iPhone and iPad which is unique.  How can I backup or do a "real synch" (both sides have same data) and then upgrade?

    I want to upgrade iOS from 5 to 6, but when I go to synch everything in preparation, it tells me I will lose all my stuff on the iPhone and iPad which is/are  unique.  How can I backup or do a "real synch" (both sides have same data at end of process) and then upgrade?

    You should really read the manual.
    "How do you restore from backup? "
    Restore.  When given the choice, choose to use backup.
    "And how can I check to see if the pics and videos are on my computer somewhere first??"
    They would only be where you put them.  What program did you use to import them?  Pics/vids taken with ipod are not part of the sync process at all.  You should be importing them just as you would with any digital camera.
    If you did not import them, then they are not on your computer.

  • How to upload data from POS Workbench to BW Info Cubes and then to SAP R/3

    Hi,
    I have used some sample data as input to BAPI "/POSDW/BAPI_POSTR_CREATE" to create sample transactions in POSDM.
    Then I had executed this data to POS Workbench.
    Now my requirement is to upload this data further to Info Cubes and then to R/3 in IDocs format.
    Can anyone please tell me the method to how to do this?
    Thanks in advance.

    Hi,
    Please see the below links,
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/5ef84112f49c39e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0f/7af634b576bc4ee10000009b38f83b/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/b7/b6d59344e93443a7ac8934d2acfb55/frameset.htm
    Hope this helps,
    Regards
    CSM Reddy

  • Firewire does not function after uninstalling macfuse and an out of date version of NTFS32 and then installed latest version of Tuxera NTFS for Mac.

    I purchased a 3TB HDD (WD USB 3.0 $100) to replace the 2TB Seagate for a new Time Machine HDD. The 2B was full and backups were deleting older files. The 3TB was formatted NTFS and I want to "recover" the included SW before I reformatted the HDD for the iMac. I discovered that MacFuse was out of date and unsupported and my NTFS-32 was also out of date so I uninstalled both and then installed the most recent version of Tuxera NTFS for Mac. I rebooted and discovered that the FW800 port was unresponsive. Below is the EtreCheck report:
    Problem description:
    Firewire does not function after uninstalling macfuse and an out of date version of NTFS32 and then installed Tuxera NTFS for Mac.
    EtreCheck version: 2.0.8 (95)
    Report generated October 30, 2014 7:11:17 PM EDT
    Hardware Information: ℹ️
      iMac (24-inch Mid 2007) (Verified)
      iMac - model: iMac7,1
      1 2.8 GHz Intel Core 2 Duo CPU: 2-core
      4 GB RAM
      BANK 0/DIMM0
      2 GB DDR2 SDRAM 667 MHz ok
      BANK 1/DIMM1
      2 GB DDR2 SDRAM 667 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      ATI,RadeonHD2600 - VRAM: 256 MB
      iMac 1920 x 1200
    System Software: ℹ️
      OS X 10.8.5 (12F45) - Uptime: 0:17:34
    Disk Information: ℹ️
      WDC WD5000AAKS-40TMA0 disk0 : (500.11 GB)
      S.M.A.R.T. Status: Verified
      disk0s1 (disk0s1) <not mounted> : 210 MB
      ML 10.8 (disk0s2) /  [Startup]: 499.25 GB (20.92 GB free)
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
    USB Information: ℹ️
      Apple Inc. Built-in iSight
      Apple Computer, Inc. IR Receiver
      Logitech USB Receiver
      Apple Inc. Bluetooth USB Host Controller
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /Applications/Hardware Monitor ƒ/HardwareMonitor.app
      [loaded] com.bresink.driver.BRESINKx86Monitoring (7.0) Support
      /Applications/Parallels Desktop.app
      [not loaded] com.parallels.kext.hidhook (8.0 18615.948847) Support
      [not loaded] com.parallels.kext.hypervisor (8.0 18615.948847) Support
      [not loaded] com.parallels.kext.netbridge (8.0 18615.948847) Support
      [not loaded] com.parallels.kext.usbconnect (8.0 18615.948847) Support
      [not loaded] com.parallels.kext.vnic (8.0 18615.948847) Support
      /Applications/Toast Titanium v11.1/Spin Doctor.app
      [not loaded] com.hzsystems.terminus.driver (4) Support
      /Applications/Toast Titanium/Toast Titanium v11.1 (1072).app
      [not loaded] com.roxio.TDIXController (2.0) Support
      /Library/Application Support/Symantec/AntiVirus
      [loaded] com.symantec.kext.SymAPComm (12.2f1 - SDK 10.6) Support
      /System/Library/Extensions
      [loaded] com.Logitech.Control Center.HID Driver (3.9.0 - SDK 10.6) Support
      [loaded] com.eltima.ElmediaPlayer.kext (1.58 - SDK 10.4) Support
      [not loaded] com.hzsystems.driver.CDSDAudioCaptureSupport (1.5) Support
      [not loaded] com.increw.kext.speedit (0.32) Support
      [loaded] com.logitech.manager.kernel.driver (4.10.0 - SDK 10.8) Support
      [not loaded] com.olympus.CamBlockCommandsDevice (2.0.0) Support
      [not loaded] com.olympus.CamBlockCommandsDeviceUP (2.0.0) Support
      [not loaded] com.palm.ClassicNotSeizeDriver (3.2.1) Support
      [not loaded] com.roxio.BluRaySupport (1.1.6) Support
      [not loaded] com.seagate.driver.PowSecDriverCore (5.1.1) Support
      [loaded] com.symantec.kext.internetSecurity (5.2f1 - SDK 10.6) Support
      [loaded] com.symantec.kext.ips (3.5f1 - SDK 10.6) Support
      [loaded] com.symantec.kext.ndcengine (1.0f1 - SDK 10.6) Support
      [loaded] com.taoeffect.ispy.kext (2.0.2 - SDK 10.2) Support
      /System/Library/Extensions/OlympusDSCDriver.kext/Contents/PlugIns
      [not loaded] com.olympus.CamFWSerialBusProtocolTransport (2.0.0) Support
      [not loaded] com.olympus.CamUSBMassStorageClass (2.0.0) Support
      /System/Library/Extensions/Seagate Storage Driver.kext/Contents/PlugIns
      [not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.1.1) Support
      [not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.1.1) Support
      [not loaded] com.seagate.driver.SeagateDriveIcons (5.1.1) Support
      /Users/[redacted]/Downloads/LCC Installer.app
      [not loaded] com.Logitech.Unifying.HID Driver (1.3.1 - SDK 10.8) Support
    Startup Items: ℹ️
      TuxeraNTFSUnmountHelper: Path: /Library/StartupItems/TuxeraNTFSUnmountHelper
      Startup items are obsolete and will not work in future versions of OS X
    Launch Agents: ℹ️
      [running] com.canon.MFManager.plist Support
      [not loaded] com.cooliris.SetLaunchArch.plist Support
      [loaded] com.google.keystone.agent.plist Support
      [running] com.Logitech.Control Center.Daemon.plist Support
      [running] com.logitech.manager.daemon.plist Support
      [running] com.micromat.TechToolProAgent.plist Support
      [loaded] com.oracle.java.Java-Updater.plist Support
      [running] com.seagate.SeagateStorageGauge.plist Support
      [running] com.symantec.uiagent.application.plist Support
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist Support
      [running] com.cleverfiles.cfbackd.plist Support
      [running] com.eltima.ElmediaPlayer.daemon.plist Support
      [loaded] com.embraceware.awaken.plist Support
      [loaded] com.google.keystone.daemon.plist Support
      [loaded] com.macpaw.CleanMyMac2.Agent.plist Support
      [running] com.micromat.TechToolProDaemon.plist Support
      [loaded] com.microsoft.office.licensing.helper.plist Support
      [loaded] com.oracle.java.Helper-Tool.plist Support
      [loaded] com.oracle.java.JavaUpdateHelper.plist Support
      [loaded] com.prosofteng.DriveGenius.locum.plist Support
      [running] com.smithmicro.schedulerdaemon.plist Support
      [loaded] com.symantec.liveupdate.daemon.ondemand.plist Support
      [failed] com.symantec.liveupdate.daemon.plist Support
      [not loaded] com.symantec.sep.migratesettings.plist Support
      [running] com.symantec.sharedsettings.plist Support
      [running] com.symantec.symdaemon.plist Support
      [running] com.taoeffect.ispyd.plist Support
      [running] com.wdc.drivemanagerservice.plist Support
    User Launch Agents: ℹ️
      [loaded] com.adobe.ARM.[...].plist Support
      [loaded] com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist Support
      [loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist Support
      [loaded] com.macpaw.CleanMyMac2Helper.trashWatcher.plist Support
      [running] com.prosofteng.DGMonitor.plist Support
      [running] com.smithmicro.cleaning.schedulermailer.plist Support
      [running] com.taoeffect.EspionageHelper.plist Support
    User Login Items: ℹ️
      Speedy Mac Application (/Applications/Speedy Mac/Speedy Mac.app)
      AwakenHelper Application (/Users/[redacted]/Library/Application Support/Awaken/AwakenHelper.app)
      GetBackupAgent Application (/Users/[redacted]/Library/Application Support/BeLight Software/Get Backup 2/GetBackupAgent.app)
      WDDriveUtilityHelper Application (/Users/[redacted]/Downloads/WD/WD Drive Utilities.app/Contents/Resources/WDDriveUtilityHelper.app)
      ClustersHelper Application (/Library/PreferencePanes/Clusters.prefPane/Contents/Resources/ClustersHelper.a pp)
      RealPlayer Downloader Agent Application (/Users/[redacted]/Library/Application Support/RealNetworks/RealPlayer Downloader Agent.app)
      SAVDiskMountNotify UNKNOWN (missing value)
      ScanNotification UNKNOWN (missing value)
      Launch Nikon Message Center 2 Application (/Applications/Nikon Software/Nikon Message Center 2/Nikon Message Center 2.app/Contents/SharedSupport/Launch Nikon Message Center 2.app)
    Internet Plug-ins: ℹ️
      EPPEX Plugin: Version: 10.0 Support
      Flash Player: Version: 15.0.0.189 - SDK 10.6 Support
      AdobePDFViewer: Version: 9.4.6 Support
      Unity Web Player: Version: UnityPlayer version 3.5.3f3 - SDK 10.6 Support
      NPVirtools: Version: 4.0 Support
      iPhotoPhotocast: Version: 7.0 - SDK 10.8
      RealPlayer Plugin: Version: (null) Support
      DirectorShockwave: Version: 11.6.8r638 Support
      QuickTime Plugin: Version: 7.7.1
      FlashPlayer-10.6: Version: 15.0.0.189 - SDK 10.6 Support
      GarminGpsControl: Version: 2.9.3.0 Release Support
      ToontownBundleManager: Version: (null) Support
      CANONiMAGEGATEWAYDL: Version: 3.1.0.2 Support
      Silverlight: Version: 5.1.10411.0 - SDK 10.6 Support
      OVSHelper: Version: 1.0 Support
      CoolirisWebKitPlugin: Version: (null) Support
      Google Earth Web Plug-in: Version: 6.1 Support
      Flip4Mac WMV Plugin: Version: 3.2.0.16   - SDK 10.8 Support
      SharePointBrowserPlugin: Version: 14.4.4 - SDK 10.6 Support
      JavaAppletPlugin: Version: Java 7 Update 67 Check version
      OfficeLiveBrowserPlugin: Version: 12.3.6 Support
    User Internet Plug-ins: ℹ️
      BrowserPlus_2.9.2: Version: 2.9.2 Support
      Picasa: Version: 1.0 Support
    Safari Extensions: ℹ️
      DivX Plus Web Player HTML5 <video>
      Open in Internet Explorer
      DivX HiQ
      Aimersoft Video Converter
    3rd Party Preference Panes: ℹ️
      BrowserPlus  Support
      Clusters  Support
      Déjà Vu  Support
      Flash Player  Support
      Flip4Mac WMV  Support
      Java  Support
      Logitech Control Center  Support
      Logi Preference Manager  Support
      MenuMeters  Support
      Perian  Support
      Symantec QuickMenu  Support
      TechTool Protection  Support
      Tuxera NTFS  Support
    Time Machine: ℹ️
      Skip System Files: NO
      Auto backup: YES
      Destinations:
      iMac TimeMachine [Local]
      Total size: 2 TB
      Total number of backups: 80
      Oldest backup: 2011-09-18 05:21:33 +0000
      Last backup: 2014-10-05 20:18:55 +0000
      Size of backup disk: Excellent
      Backup size 2 TB > (Disk size 0 B X 3)
      /sbin excluded from backup!
      /usr excluded from backup!
      /System excluded from backup!
      /bin excluded from backup!
      /private excluded from backup!
      /Library excluded from backup!
      /Applications excluded from backup!
    Top Processes by CPU: ℹ️
          2% WindowServer
          0% Speedy
          0% SystemUIServer
          0% RealPlayer Downloader Agent
          0% ps
    Top Processes by Memory: ℹ️
      288 MB SymDaemon
      150 MB Speedy
      137 MB Safari
      82 MB WebProcess
      82 MB coreservicesd
    Virtual Memory Information: ℹ️
      2.17 GB Free RAM
      1.46 GB Active RAM
      148 MB Inactive RAM
      518 MB Wired RAM
      388 MB Page-ins
      0 B Page-outs
    I hope someone has some ideas! TIA.

    Do you have another cable you can test with? Do you have access to another computer with Firewire you can test with?
    FireWire Device not Working
    FireWire/USB - Quick Assist

  • I want to save a html file to server and then want to open it.

    Requirement: I'm having an applet which is having a button named letter. When a user clicks on the button, following should happen --> An event will occur which will read some data from backend system(mainframe) and will store that in a string variable. A html file is created using this data in the body part, and then it should open in a browser.
    My problem is how can I launch(open in a browser) this html file.
    1) Is it possible to launch this file without storing it on hard drive.
    2)To use Runtime.getRuntime.exec(cmd.exe /c start filepath) , I need to store this file somewhere. How can i store this on server?

    1) Can you please give me an example showing how i can use Jtextpane.For html, JEditorPane (instead of JTextPane is better)
    For examples, go through these tutorial trails:
    [http://java.sun.com/docs/books/tutorial/uiswing/components/editorpane.html]
    [http://java.sun.com/docs/books/tutorial/uiswing/components/text.html]
    2)Also please tell me how to save the file on user's machineSee this trail:
    [http://java.sun.com/docs/books/tutorial/essential/io/index.html]
    and how can i delete the file from user's machine once it is closed by the user?Very simple, read the api docs: [http://java.sun.com/javase/6/docs/api/java/io/File.html#delete()]
    Thanks!

Maybe you are looking for