- Language
- String / Number
- AWT
- Swing
- Environment
- IO
- JS interaction
- JDBC
- Thread
- Networking
- JSP / Servlet
- XML / RSS / JSON
- Localization
- Security
- JNI / JNA
- Date / Time
- Open Source
- Varia
- BigIndex
- Download
- TS2068, Sinclair QL Archives
- Real's HowTo FAQ
- Donate!
- Funny 1
- Funny 2
- Funny 3
- Funny 4
- One line
- Ascii Art
- Deprecated (old stuff)
IO HowTo
- General
chevron_rightRedirect output(stdout/stderr) to a frame
chevron_rightRedirect printStackTrace() to a String
chevron_rightRedirect to NULL device
- Devices (printer, drives, ...)
chevron_rightPrint a text file using the javax.print API
chevron_rightPrint a String using the javax.print API
chevron_rightPrint text to a printer easily
chevron_rightPrint without a Dialog
chevron_rightInitialize and write to a serial port
chevron_rightOpen or close a CD/DVD drive
chevron_rightGet the volume label
chevron_rightDetect the storage device type
chevron_rightTurn on MQ Debug mode
- Console IO
chevron_rightGet faster console output (System.out.println() replacement)
chevron_rightSimple input from the keyboard
chevron_rightOutput french character to the console
chevron_rightClear the console and control attributes
chevron_rightEasy keyboard input (JDK1.5)
chevron_rightForce keyboard input in CAPS LOCK on
chevron_rightAutomatic conversion of System.out output
- Execute an external program
chevron_rightExecute an external program and capture the output
chevron_rightLaunch the application associated with a file extension
chevron_rightLaunch an application from another application
chevron_rightStart the default browser from an application
chevron_rightExecute a Windows Shortcut (.lnk)
chevron_rightCreate a file association with a Java program
chevron_rightCapture the output from a VBS
chevron_rightGet a return code from a VBS
chevron_rightExecute a CMD file stored in a JAR
chevron_rightOpen the default file explorer
- File
chevron_rightRead the content of a file
chevron_rightRead a text file from a Jar
chevron_rightRead a text file from the internet
chevron_rightExtract a file from a Jar
chevron_rightRead a data file with floats
chevron_rightWrite to the end of a file
chevron_rightWrite "real" ascii file
chevron_rightCopy a file
chevron_rightUse a "log file"
chevron_rightDelete files with a certain extension
chevron_rightInsert a line in a file
chevron_rightRead a file into a variable in one shot
chevron_rightSerialize an object to a file
chevron_rightRedirect stdout to a file
chevron_rightGet the "last modified" date from a file
chevron_rightGet the file creation time
chevron_rightCheck if a file exists
chevron_rightDetect file (or folder) modification
chevron_rightFile/directory polling to detect change
chevron_rightDetect file (or folder) modification (Java 7)
chevron_rightGet the current directory
chevron_rightGet the "root" of an application
chevron_rightGet the content of a directory with a Filter
chevron_rightGet the content of a directory with subdirectories
chevron_rightGet directory content faster with many files
chevron_rightMake a directory
chevron_rightCreate a fixed-length file
chevron_rightDelete a non-empty directory
chevron_rightCreate a temporary file
chevron_rightGet the default character set of the JVM
chevron_rightParse a pathname
chevron_rightHandle CSV files
chevron_rightConvert OEM (DOS) file to Ansi (Windows)
chevron_rightClose a stream in a try/catch block
chevron_rightRename a file extension
chevron_rightRemove a file extension
chevron_rightRemove HTML tags from a file to extract only the TEXT
chevron_rightGet the Mime Type from a File
chevron_rightSort a directory listing (based on the last modified timestamp)
chevron_rightSort files by the extension
chevron_rightFilter a directory listing by date
chevron_rightConvert wildcard to a regex expression
chevron_rightShorten a long path
chevron_rightForce a valid Windows filename
chevron_rightCheck if filename is valid
chevron_rightDump a file to a HEX file
chevron_rightList all files in the classpath or in a Jar
chevron_rightHandle UTF8 file with BOM
chevron_rightTouch a file
chevron_rightHandle Windows file attribute
chevron_rightClean up a directory
chevron_rightForce End-of-line delimiter as LF only
chevron_rightCheck if a directory is empty
chevron_rightDelete a file
- Excel XLS
chevron_rightHandle Excel files
chevron_rightCreate an Excel file (the easy way)
chevron_rightDetect if a XLS Excel file contains a macro (using POI)
- PDF
chevron_rightCreate or process PDF files
chevron_rightiText - Create a PDF
chevron_rightSplit a PDF file (using iText)
chevron_rightConcatenate PDF files (using iText)
chevron_rightConvert TIF to PDF
chevron_rightConvert HTML to PDF using iText
chevron_rightConvert HTML to PDF using YAHP
chevron_rightConvert PNG/JPG/GIF to PDF using iText
chevron_rightPrint a PDF
chevron_rightExtract text from a PDF using Apache Tika
- ZIP
chevron_rightCreate a compressed (ZIP) file
chevron_rightDisplay compressed (ZIP) file content
chevron_rightExpand the compressed (ZIP) file
- Audio
chevron_rightEmit a beep
chevron_rightEmit a tone
chevron_rightPlay an audio file from an application
chevron_rightProduce special sound effect
chevron_rightUse the Java Speech API (JSPAPI)
chevron_rightPlay a Windows sound
chevron_rightProcess MP3 tags