Main > Free Download Search >

Free outputstream software for linux

outputstream

Sponsored Links
Sponsored Links
Sort by >> Relevance
rss
Secleted [ 0 ] software to compare
Results 1 - 15 of about 5
Servlet::ServletOutputStream 0.9.2

Servlet::ServletOutputStream 0.9.2


Servlet::ServletOutputStream is a servlet output stream interface. more>>
Servlet::ServletOutputStream is a servlet output stream interface.

SYNOPSIS

$stream->print($string);

$stream->println();
$stream->println($string);

$stream->write($string);
$stream->write($string, $length);
$stream->write($string, $length, $offset);

$stream->flush();

$stream->close();

Provides an output stream for writing binary data to a servlet response.
An output stream object is normally retrieved via "getOutputStream" in Servlet::ServletResponse.

NOTE: While this is an abstract class in the Java API, the Perl API provides it as an interface. The main difference is that the Perl version has no constructor. Also, it merges the methods declared in java.io.OutputStream and javax.servlet.ServletOutputStream into a single interface.

METHODS

close()

Closes the stream and releases any system resources associated with the stream.

Throws:

Servlet::Util::IOException

if an output exception occurred

flush()

Flushes this input stream and forces any buffered output bytes to be written out.

Throws:

Servlet::Util::IOException

if an output exception occurred

print($value)

Writes a scalar value to the client, with no carriage return-line feed (CRLF) character at the end.

Parameters:

$value

the value to send to the client

Throws:

Servlet::Util::IOException

if an output exception occurred

println([$value])

Writes a scalar value to the client, if specified, followed by a carriage return-line feed (CRLF) character.

Parameters:

$value

the (optional) value to send to the client

Throws:

Servlet::Util::IOException

if an output exception occurred

write($value)

write($value, $length)

write($value, $length, $offset)

Writes the scalar $value to the stream.

If no arguments are specified, functions exactly equivalently to print().

If $length is specified, writes that many bytes from $value. If $offset is specified, starts writing that many bytes from the beginning of $value. $offset and $length must not be negative, and $length must not be greater than the amount of data in $value starting from $offset.

Blocks until input data is available, the end of the stream is detected, or an exception is thrown.

Parameters:

$value

a scalar value to be written

$length

the maximum number of bytes to write

$offset

the location in $value where data is read from

Throws:

Servlet::Util::IOException

if an input exception occurs

Servlet::Util::IndexOutOfBoundsException

if $buffer is specified as undef

<<less
Download (0.088MB)
Added: 2007-06-13 License: Perl Artistic License Price:
864 downloads
Classfile Reader & Writer

Classfile Reader & Writer


Classfile Reader & Writer is a package for reading and writing Java .class files. more>>
This package makes it easy to read and write java classfiles. It doesnt, however, provide any help with displaying the contents of a classfile to the user (unless you count debug output), or disassembling the bytecodes.

This code snippet will read in a classfile and write it back out to a different file.

InputStream is = new FileInputStream("Foo.class");
OutputStream os = new FileOutputStream("FooCopy.class");
ClassInfo classInfo = new ClassInfo();
new ClassFileReader().read(is, classInfo);
classInfo.setName("FooCopy"); // Java requires the class name to match the file name
new ClassFileWriter().write(classInfo, os);
is.close();os.close();

The package can read "obfuscated" classfiles, like those generated by Crema, but it cant write them. Obfuscated classfiles have invalid data in them and the only reason they work is because most VMs ignore the data thats invalid (attributes like SourceFile, LineNumberTable, and LocalVariableTable). If a ClassFileReader encounters invalid data, it just ignores it.
<<less
Download (0.056MB)
Added: 2005-04-22 License: Public Domain Price:
1651 downloads
UnifiedIO 1.0

UnifiedIO 1.0


UnifiedIO is a Java library providing random access to any data stream (even over HTTP). more>>
UnifiedIO is a Java library providing random access to any data stream (even over HTTP), and giving a clear differentiation between read only and read/write access. Unified I/O is an open source project and is licensed under BSD.
Main features:
- High performance
- Transparent buffering
- MemoryManager
- (Open)FileManager (beta)
- uio based implementation of ImageInputStream and ImageOutputStream
- Bridge between RandomAccessFile world and InputStream/OutputStream world
- Access everything using one common interface
- Read/write direct from/into primitive arrays
- Optimized reading over http (only requesting the required data range of bytes - uses Byteserving feature of http 1.1)
- Easy extensible design
- Unified I/O contains also many utilities:
- BitInputStream and BitOutputStream.
- PackBits, RLE4 and RLE8 decoder.
- base64 codec implementation.
- and many others.
<<less
Download (0.15MB)
Added: 2006-07-01 License: BSD License Price:
1210 downloads
Unified I/O 3.0

Unified I/O 3.0


UnifiedIO allows to access files, primitive arrays and streams (even over HTTP) through same interface. more>>
UnifiedIO allows to access files, primitive arrays and streams (even over HTTP) through same interface.
Main features:
- High performance
- Transparent buffering
- MemoryManager
- OpenFileManager (beta)
- uio based implementation of ImageInputStream and ImageOutputStream
- Bridge between RandomAccessFile world and InputStream/OutputStream world
- Access everything using one common interface
- Read/write direct from/into primitive arrays
- Optimized reading over http (only requesting the required data range of bytes - uses byteserving feature of http 1.1)
- Easy extensible design
- Unified I/O contains also many utilities:
- BitInputStream and BitOutputStream.
- PackBits, RLE4 and RLE8 decoder.
- base64 codec implementation.
- and many others.
- Unified I/O is an open source project and licensed under BSD
Enhancements:
- This release features a new buffering model and the ability to create child streams with shared or independent stream position.
- InputStreams was implemented on all primitive arrays.
<<less
Download (0.12MB)
Added: 2007-06-30 License: BSD License Price:
902 downloads
YaHP Converter 1.2.17

YaHP Converter 1.2.17


YaHP is a java library that allows you to convert an HTML document into a PDF document. more>>
YaHP Converter is a java library that can convert an HTML document into a PDF document.
YaHP is licensed under the LGPL (GNU).
Method Summary
void convertToPdf(java.lang.String content, IHtmlToPdfTransformer.PageSize size, java.util.List hf, java.lang.String urlForBase, java.io.OutputStream out)
Convert the document in content in a PDF file.
void convertToPdf(java.net.URL url, IHtmlToPdfTransformer.PageSize size, java.util.List hf, java.io.OutputStream out)
Convert the document pointed by url in a PDF file.
private java.net.URL copyToTemp(java.net.URL url)
Copy the file pointed to url in the temp directory
private void init()
initialize the classloader, and the transforme.
Enhancements:
- A NPE which occurred if the FOP_TTF_FONT_PATH property is not set was fixed.
<<less
Download (29.3MB)
Added: 2007-07-06 License: LGPL (GNU Lesser General Public License) Price:
841 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 1
  • 1