java.io.UnsupportedEncodingExc eption quésaquo ?

java.io.UnsupportedEncodingExc eption quésaquo ? - Java - Programmation

Marsh Posté le 16-10-2003 à 17:04:47    

CENSURé


Message édité par bartleby le 16-10-2003 à 17:10:37
Reply

Marsh Posté le 16-10-2003 à 17:04:47   

Reply

Marsh Posté le 16-10-2003 à 17:08:55    

:heink: La javadoc, tu connais ?

Citation :


public byte[] getBytes(String charsetName)
                throws UnsupportedEncodingException
 
    Encodes this String into a sequence of bytes using the named charset, storing the result into a new byte array.
 
    The behavior of this method when this string cannot be encoded in the given charset is unspecified. The CharsetEncoder class should be used when more control over the encoding process is required.
 
    Parameters:
        charsetName - the name of a supported charset  
    Returns:
        The resultant byte array  
    Throws:
        UnsupportedEncodingException - If the named charset is not supported


---------------
Everyone thinks of changing the world, but no one thinks of changing himself  |  It is the peculiar quality of a fool to perceive the faults of others and to forget his own  |  Early clumsiness is not a verdict, it’s an essential ingredient.
Reply

Marsh Posté le 16-10-2003 à 17:11:37    

Hm, je connais la JavaDoc, plutot bien meme.
 
Mais parfois, le probleme est tellement evident qu'on le voit pas....
 
Désolé pour une questionn aussi stupide...

Reply

Marsh Posté le 16-10-2003 à 17:12:16    

C'est pas grave [:ddr555] Bon courage pour la suite ;)


---------------
Everyone thinks of changing the world, but no one thinks of changing himself  |  It is the peculiar quality of a fool to perceive the faults of others and to forget his own  |  Early clumsiness is not a verdict, it’s an essential ingredient.
Reply

Marsh Posté le 16-10-2003 à 17:24:20    


c'est pas très malin ca  ...  [:benou]


---------------
ma vie, mon oeuvre - HomePlayer
Reply

Marsh Posté le 16-10-2003 à 18:26:01    

euh meme en lisant la javadoc, je vois pas ce que ça apporte par rapport à la lecture du nom de l'exception [:ddr555]


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed