MCPcopy Index your code
hub / github.com/beanshell/beanshell / readObject

Method readObject

src/bsh/Interpreter.java:1188–1201  ·  view source on GitHub ↗

De-serialization setup. Default out and err streams to stdout, stderr if they are null.

(ObjectInputStream stream)

Source from the content-addressed store, hash-verified

1186 Default out and err streams to stdout, stderr if they are null.
1187 */
1188 private void readObject(ObjectInputStream stream)
1189 throws java.io.IOException, ClassNotFoundException
1190 {
1191 stream.defaultReadObject();
1192
1193 // set transient fields
1194 if ( console != null ) {
1195 setOut( console.getOut() );
1196 setErr( console.getErr() );
1197 } else {
1198 setOut( System.out );
1199 setErr( System.err );
1200 }
1201 }
1202
1203 /**
1204 Get the prompt string defined by the getBshPrompt() method in the

Callers 1

serDeserMethod · 0.80

Calls 4

setOutMethod · 0.95
setErrMethod · 0.95
getOutMethod · 0.65
getErrMethod · 0.65

Tested by 1

serDeserMethod · 0.64