Note: If your browser supports color, some text on this page should appear in red. This was added to the HTML code after the fact to highlight certain information and was not produced by the program.
Also: All superscripts were added for footnote references and were not produced by the program.
This program writes a list of the current system properties to a text file in the current directory. Please enter a name for the text file: ABCD 65 66 67 68 13 10 <-- ASCII codes input Length of input BEFORE removing line separator = 6 Length of input AFTER removing line separator = 4 65 66 67 68 <-- ASCII codes retained System properties written to ABCD
Notice that the keyboard buffer initially contained the ASCII codes for "ABCD" (65-68) plus the codes 13 and 10 (the values of the carriage return and line feed characters, which comprise the DOS line separator).
< Back to Main Page | ^ Up to Topjava.specification.name = Java Platform API Specification awt.toolkit = sun.awt.windows.WToolkit java.version = 1.2.1 java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment user.timezone = America/New_York1 java.specification.version = 1.2 java.vm.vendor = Sun Microsystems Inc. user.home = C:\WIN95 java.vm.specification.version = 1.0 os.arch = x86 java.awt.fonts = java.vendor.url = http://java.sun.com/ user.region = US file.encoding.pkg = sun.io java.home = D:\DEV\JDK121\JRE java.class.path = . line.separator = 13 102 java.ext.dirs = D:\DEV\JDK121\JRE\lib\ext java.io.tmpdir = C:\WIN95\TEMP\ os.name = Windows 95 java.vendor = Sun Microsystems Inc. java.awt.printerjob = sun.awt.windows.WPrinterJob java.library.path = D:\DEV\JDK121\BIN;.;C:\WIN95\SYSTEM;C:\WIN95 java.vm.specification.vendor = Sun Microsystems Inc. sun.io.unicode.encoding = UnicodeLittle file.encoding = Cp1252 java.specification.vendor = Sun Microsystems Inc. user.language = en user.name = Scott java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi java.vm.name = Classic VM java.class.version = 46.0 java.vm.specification.name = Java Virtual Machine Specification sun.boot.library.path = D:\DEV\JDK121\JRE\bin os.version = 4.03 java.vm.version = 1.2.1 java.vm.info = build JDK-1.2.1-A, native threads, symcjit java.compiler = symcjit path.separator = ; file.separator = \4 user.dir = S:\cop2805\Project sun.boot.class.path = D:\DEV\JDK121\JRE\lib\rt.jar;... (this line continues)
Footnotes: