How do I represent the apostrophe char in java? ''' doesn't work and ...

case '\u0027':doesn't either.
what is the representation like: 'h' is h

Quacked wrote:
Useless advice for the OP's case (in which he wants to use a "case"...). The OP knew he needed a char representation of apostrophe, not a String representation.

Similar Messages

  • HT5704 I have a iphone 3G. How do I upgrade the IOS . My email no longer works and I get a message to upgrade my IO

    How do I upgrade the IOS in my 3G iphone using the usb cable hooked to my computer ?

    To view the version, use Settings > General > About and look down the list of details shown there; that will usually display the software version.
    iOS 4.3.1 is the last version of iOS for the iPhone 3G. 
    To upgrade iOS (if you're not already running 4.3.1), connect your iPhone to your Mac or Windows system via the cable, launch iTunes if necessary, and follow the instructions that should appear.
    If you are already running iOS 4.3.1, there is no further upgrade.
    What tool or application or support forum or message is presenting the message about your mail and the upgrade?

  • I have a iPod touch 5 gen and when I got the ios 7 my microphone doesn't work and I reset my settings how do I fix thos

    I have a iPod touch 5 generation and I've reset my settings to it and I need help fixing it any help would be very helpful. If you know what's wrong with it please email [email protected]

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.             
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem. Other users have had the same problem.
    Apple Retail Store - Genius Bar                                      

  • Transferred all files to new computer. My iTunes does not find my music.  The "scan for media" button doesn't work and I cannot get the iTunes to see the music that is clearly on my new computer.

    I am stumpted.  I transferred and have all my music in my iTunes folder on my new computer and I also have it on an external hard drive.  I've added the new computer to the list of authorized computers and followed the "advanced" preferences options to select my iTunes folder and still nothing happens. No music, no playlists, NOTHING. The I am completely shocked that none, NONE of the apple support pages can help me.  I have Windows 8.1.  Please can someone help me.  I cannot believe how hard this is.

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • The "autofill your contact info" doesn't work and doesn't go away

    When I'm filling out a form the Autofill your contact info box pops up, but when I click on it, it turns blue, then does nothing. And I can't get rid of it unless I close Safari. Is there a fix for this?
    thanks!

    if connected to the computer you can restore it to factory settings using itunes

  • How to map C/C++ unsigned char[] to Java

    hi all,
    I'm using w2k OS.
    Given that C code:
    BYTE *fBuf;
    fBuf = new BYTE[256];
    Is there anyone of you know how to pass/map the unsigned char to java?
    regards
    elvis

    why did you classify this as byte? how do you did
    that?They probably guessed. It is probably a good guess.
    You can use the following to determine the size exactly.
    First determine what "BYTE" is exactly. You will have to find that in an include file somewhere. Your IDE might do this for you automatically.
    So, for example you might find the following...
    typedef unsigned char BYTE;
    So then you would know that the type is actually "unsigned char".
    Once you have this information you then look in limits.h (this is an ANSI C/C++ file so it will exist somewhere.) In it you find the "..._BIT" that corresponds to the type. For the type given above you would be looking for "CHAR_BIT" (because unsigned and signed chars are the same size.)
    On my system that would be...
    #define CHAR_BIT 8
    That tells you that there are 8 bits in the BYTE value. So now you need to find a java type that also has at least 8 bits. And the java "byte" value does.

  • How can I calculate the total time in java?

    Hello!
    I need to calculate the total time!
    For example I have start time:
              Format formatter1;
              Date date1 = new Date();
              formatter1 = new SimpleDateFormat("hh:mm:ss");
              String startTime = formatter1.format(date1);
              //startTime = "14:20:40";
    And I have finish time:
              Format formatter2;
              Date date2 = new Date();
              formatter2 = new SimpleDateFormat("hh:mm:ss");
              String finishTime = formatter2.format(date2);
              //finishTime = "08:30:55";
    So, after manually calculating, I get total time: "18:10:15"
    How can I calculate the total time in java? (Using formatter1 and formatter2 I suppose)
    What I need is to print "total 18:10:15"
    Thanks!

    800512 wrote:
    I did the following but, I think something is wrong here:
    I defined before: Date date1 = new Date(); Date date2 = new Date();
    And it should be exactly 5 seconds between them.
    I found delta between date1 and date2:
    Format formatter = new SimpleDateFormat("HH:mm:ss");
              long timeInMilliFromStart = date1.getTime() - date2.getTime() ;
              Date date3 = new Date(timeInMilliFromStart);
              String timeInSecFromStart = formatter.format(date3);
    and I get always
    //timeInSecFromStart = 02:00:05
    But it should be exactly 00:00:05.
    What can be a problem?Because, like I said, a Date measure an instant in time, not a duration. So when you have 5000 ms, and you turn that into a Date, that means 5 sec. after the epoch, which works out to 1/1/1970 00:00:05.000 GMT.
    As I mentioned, if you're not currently in GMT, then you have to set the TZ of the DateFormat to GMT. Right now, it's showing you the time in your TZ. If you included the date in your SimpleDateFormat, you'd see either 1/1/1970 or 12/31/1969, depending on which TZ you're in.
    Bottom line: You're trying to use these classes in a way they're not meant for, and while you can get the results you want for a limited set of inputs if you understand what these classes do and how to work with that, it's a brittle approach and comes with all kinds of caveats.

  • Can't install the software for the Brother MFC-9440CN because it is not currently available from the Software Update server....how do I get the driver then..it ised to work in my old mac..but cant print to it in my new unit

    Can't install the software for the Brother MFC-9440CN because it is not currently available from the Software Update server....how do I get the driver then..it ised to work in my old mac..but cant print to it in my new unit

    Download the Brother Mountain Lion drivers here.

  • I cannot figure out how to make the text larger on an incoming email.  The finger method doesn't work and I cannot find any toolbar with which to do it.  I could find nothing in settings also.  Plese help and thank you.

    I cannot figure out how to make the text larger in a received email.  The finger method doesn't work and I can find no tool bar as I can for composing emails.  I can find nothing in settings.  Please help and thank you in advance.

    Hi there,
    Download a piece of software called TinkerTool - that might just solve your problem. I have used it myself to change the system fonts on my iMac. It is software and not an app.
    Good wishes,
    John.

  • How can i get the source code from java concurrent program in R12

    Hi 2 all,
    How can i get the source code from java concurrent program in R12? like , "AP Turnover Report" is java concurrent program, i need to get its source code to know its logic. how can i get its source code not the XML template?
    Regards,
    Zulqarnain

    user570667 wrote:
    Hi 2 all,
    How can i get the source code from java concurrent program in R12? like , "AP Turnover Report" is java concurrent program, i need to get its source code to know its logic. how can i get its source code not the XML template?
    Regards,
    ZulqarnainDid you see old threads for similar topic/discussion? -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Java+AND+Concurrent+AND+Source+AND+Code&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • How can I activate an old version of Photoshop that I've loaded on my new tablet? The web activation doesn't work, and when I call the number, it says it's not being used anymore. Meanwhile, I'm down to 13 days till it stops working due to not being activ

    How can I activate an old version of Photoshop that I've loaded on my new tablet? The web activation doesn't work, and when I call the number, it says it's not being used anymore. Meanwhile, I'm down to 13 days till it stops working due to not being activated. HELP?  I really need to continue using this product for my home business.It works fine not activated but the threat is that it will stop working in 13 more days if I don't get it activated, and none of the activation methods they list seem to work.

    The new serial number is to the right of your chosen download.

  • HT3382 I have a Samsung VGA Monitor connected to my MacBook Pro using the Mini Display Port to VGA Adapter.  How do I configure the computer so that it doesn't sleep when I close the lid of the computer.

    I have a Samsung VGA Monitor connected to my MacBook Pro using the Mini Display Port to VGA Adapter.  How do I configure the computer so that it doesn't sleep when I close the lid of the computer.

    Hi alangium,
    Welcome to the Support Communities!
    Resetting your computer's PRAM should restore your Macbook Pro's screen appearance.
    OS X Mavericks: Reset your computer’s PRAM
    http://support.apple.com/kb/ph14222
    This article may provide some information about your Mini DisplayPort to AVI adapter.  Have you tried to connect a different VGA monitor to your Macbook to see if you get the same results?
    Apple Mini DisplayPort adapters: Frequently asked questions (FAQ)
    http://support.apple.com/kb/HT3382
    18. What is the maximum resolution available for use with the Apple Mini DisplayPort to VGA adapter?
    The resolution available with the Apple Mini DisplayPort to VGA Adapter is 1920 x 1200. VGA displays that use higher refresh rates (such as 85 Hz) at resolutions of 1600 x 1200 or greater may not generate video properly until you lower the refresh rate.
    Apple computers: Troubleshooting issues with video on internal or external displays
    http://support.apple.com/kb/HT1573#5
    How can I detect displays?
    If the detect displays option is not available, hold down the Option key while you are in the Display pane.
    How do I select additional resolutions on my display?
    You can use the Display pane of System Preferences to specify how your display works. Not all options appear for all display models. By default the best resolution for your display will already be selected in System Preferences.
    To select a different resolution, use the Scaled option. Some additional resolutions may be available when you hold the Option button.
    I hope this information helps ....
    - Judy

  • How can I remove the Apple ID authorization only on one computer and authorize another in his place?

    how can I remove the Apple ID authorization only on one computer and authorize another in his place?

    De-authorize the computer in question.
    Then authorize the new computer.
    Or de-authorize all computers and authorize only the ones that actually exist.

  • How can I get the apps that I paid for on iTunes and the app store I don't have a computer I paid for them using my ipad and everytime I try to redownload them it asks for my card number and when I put the number in it tells me that the number is not a wo

    Ok can anyone tell how I can get the apps that I paid for on iTunes and the app store using my I pad because I don't have a computer and when I try to redownload the apps it keeps asking me for my card number and when I give it my card info it says that it's an invalid number when I know that it's not

    If you are getting an 'invalid security code' message then is the address on your iTunes account exactly the same (format and spacing etc) as on your credit card bill : http://support.apple.com/kb/TS1646 ? If it is then you could try what it says at the bottom of that page :
    If the issue persists, contact your credit card company and verify that they and any company they use to process credit card authorizations have the correct information on file.
    And/or try contacting iTunes support : http://www.apple.com/support/itunes/contact/ - click on Express Lane, then iTunes > iTunes Store

  • HT1904 How can I get a refund for apps in the apple App Store that do not work and are not what they said they wer

    How can I get a refund for apps in the apple App Store that do not work and are not what they said they wer

    You've tried deleting and redownloading them and seeing if they then work and tried contacting the developers ? If you have and they can't/won't help then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

Maybe you are looking for

  • Hiding times in iCal

    In my preferences I marked that the day starts at 6am and ends at 10pm but iCal is still showing 24hours. Is there a way to hide unnecessary times so I don't have to scroll down my calendar? Thanks!

  • Transferring external requiremnts from ECC to SRM sourcing cockpit.

    Experts, We are implementing plan driven procumrent. We require some help from you. I would like to know what are all the jobs we need to run for transferring external requiremnts from ECC to SRM sourcing cockpit. Thanks in advance. Regards, Ravi

  • Export To Excel Using Oracle Portal Reports

    I am exporting reports to Excel (sylk) using oracle 10g portal application. Example of export link is: http://pens12345.xxxx.yyyy.zzz:1234/pls/portal/SCHEMAPTL.TEST_GR.SHOW?p_arg_names=ccc&p_arg_values=%25&p_arg_names=yy&p_arg_values=%25&p_arg_names=

  • Check Mapping?

    Hi! We have a scenario where an adress should be sent. We did some testin with a testorder locally by pasting it in the src in Test. The adress came up so the mapping looked good. However when we sent a real order, the adress is not sent. I checked i

  • How can I change the casing in my app reserved name?

    I have reserved a name for my Windows Phone App, but not yet published it. I made an error in the casing. I started with a small w, it should start with a capital W. Is there a way that Microsoft Developer Center can update the casing of my reserved