Declarativa Declarativa
 

 

Entrada

Produtos

Serviços

Inquiridor
Aplicações internet à medida
Auditoria informática
Subcontratação para I&D

Plataforma de conteúdos

Tecnologia

Web Information Systems
Web Application Maker
InterProlog

A empresa

Apresentação institucional

com.declarativa.interprolog.util
Class PrologOutputObjectStream

java.lang.Object
  extended bycom.declarativa.interprolog.util.PrologOutputObjectStream

public class PrologOutputObjectStream
extends Object

Vaguely similar to an ObjectOutputStream, but sends the total number of serialized bytes up front, so Prolog can keep grammar and socket reads separate without hanging for input.


Constructor Summary
PrologOutputObjectStream(OutputStream os)
           
PrologOutputObjectStream(OutputStream os, boolean usesEscapeByte)
           
 
Method Summary
 void flush()
           
 ObjectOutputStream getObjectStream()
           
 int size()
           
 void writeObject(Object obj)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrologOutputObjectStream

public PrologOutputObjectStream(OutputStream os)
                         throws IOException

PrologOutputObjectStream

public PrologOutputObjectStream(OutputStream os,
                                boolean usesEscapeByte)
                         throws IOException
Method Detail

getObjectStream

public ObjectOutputStream getObjectStream()

flush

public void flush()
           throws IOException
Throws:
IOException

writeObject

public void writeObject(Object obj)
                 throws IOException
Throws:
IOException

size

public int size()



 Declarativa - Serviços de Informática, Lda.
  www.declarativa.com, info@declarativa.com  fax: +351-22-030-1511  tel: +351-22-030-1580
UPTEC - Parque de Ciência e Tecnologia da Universidade do Porto (GoogleMap)
Rua Actor Ferreira da Silva 100 4200-298 Porto Portugal