informatique:java:process_input_stream_reader
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| informatique:java:process_input_stream_reader [19/03/2011 16:44] – créée cyrille | informatique:java:process_input_stream_reader [28/12/2015 01:06] (Version actuelle) – supprimée cyrille | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ====== Process Input Stream Reader ====== | ||
| - | <code java> | ||
| - | import java.io.BufferedReader; | ||
| - | import java.io.IOException; | ||
| - | import java.io.InputStream; | ||
| - | import java.io.InputStreamReader; | ||
| - | import java.net.InetAddress; | ||
| - | import java.net.UnknownHostException; | ||
| - | import java.io.*; | ||
| - | |||
| - | public class Traceroute { | ||
| - | | ||
| - | Runtime t = Runtime.getRuntime(); | ||
| - | try { | ||
| - | | ||
| - | // | ||
| - | | ||
| - | | ||
| - | | ||
| - | int m =0; | ||
| - | | ||
| - | String content = re.readLine(); | ||
| - | System.out.println(content); | ||
| - | if(content == null){ | ||
| - | | ||
| - | } | ||
| - | } | ||
| - | | ||
| - | | ||
| - | } catch (IOException e) { | ||
| - | e.printStackTrace(); | ||
| - | } | ||
| - | } | ||
| - | } | ||
| - | </ | ||
informatique/java/process_input_stream_reader.1300549493.txt.gz · Dernière modification : (modification externe)
