MCPcopy Create free account
hub / github.com/GateNLP/gate-core / run

Method run

src/main/java/gate/util/ObjectWriter.java:145–154  ·  view source on GitHub ↗

Describe 'run' method here.

()

Source from the content-addressed store, hash-verified

143 * Describe 'run' method here.
144 */
145 @Override
146 public void run(){
147 try {
148 ObjectOutputStream _oos = new ObjectOutputStream(_outputStream);
149 _oos.writeObject(_object);
150 _oos.close();
151 } catch(IOException ioe) {
152 ioe.printStackTrace(Err.getPrintWriter());
153 }
154 }
155
156 private Object _object;
157 private InputStream _inputStream;

Callers

nothing calls this directly

Calls 4

getPrintWriterMethod · 0.95
closeMethod · 0.65
writeObjectMethod · 0.45
printStackTraceMethod · 0.45

Tested by

no test coverage detected