Intel

Developer Zone

PrintStream

java.io

Class PrintStream



  • public class PrintStream
    extends Object
    • Constructor Summary

      Constructors
      Constructor and Description
      PrintStream()
    • Method Summary

      Methods
      Modifier and Type Method and Description
      void print(boolean value)
      print out a boolean value
      void print(byte value)
      print out a byte value
      void print(char c)
      print out a character
      void print(int value)
      print out an int value
      void print(short value)
      print out a short value
      void print(String value)
      print out a string
      void println()
      print out an empty string and then terminate the line
      void println(boolean value)
      print out a boolean value and then terminate the line
      void println(byte value)
      print out a byte and then terminate the line
      void println(char c)
      print out a character and then terminate the line
      void println(int value)
      print out an int value and then terminate the line
      void println(long value)
      print out a long and then terminate the line
      void println(Object obj)
      print out an object's string description and then terminate the line
      void println(short value)
      print out a short value and then terminate the line
      void println(String value)
      print out a string and then terminate the line
    • Constructor Detail

      • PrintStream

        public PrintStream()
    • Method Detail

      • println

        public void println()
        print out an empty string and then terminate the line
      • println

        public void println(Object obj)
        print out an object's string description and then terminate the line
        Parameters:
        obj - the object that will be print out
      • print

        public void print(char c)
        print out a character
        Parameters:
        c - the character that will be print out
      • println

        public void println(char c)
        print out a character and then terminate the line
        Parameters:
        c - the character that will be print out
      • println

        public void println(String value)
        print out a string and then terminate the line
        Parameters:
        value - the string that will be print out
      • print

        public void print(String value)
        print out a string
        Parameters:
        value - the string that will be print out
      • println

        public void println(int value)
        print out an int value and then terminate the line
        Parameters:
        value - the int value that will be print out
      • print

        public void print(int value)
        print out an int value
        Parameters:
        value - the int value that will be print out
      • println

        public void println(short value)
        print out a short value and then terminate the line
        Parameters:
        value - the short that will be print out
      • print

        public void print(short value)
        print out a short value
        Parameters:
        value - the short that will be print out
      • print

        public void print(boolean value)
        print out a boolean value
        Parameters:
        value - the boolean value that will be print out
      • println

        public void println(boolean value)
        print out a boolean value and then terminate the line
        Parameters:
        value - the boolean value that will be print out
      • println

        public void println(byte value)
        print out a byte and then terminate the line
        Parameters:
        value - the byte that will be print out
      • print

        public void print(byte value)
        print out a byte value
        Parameters:
        value - the byte value that will be print out
      • println

        public void println(long value)
        print out a long and then terminate the line
        Parameters:
        value - the long that will be print out