File tree Expand file tree Collapse file tree
src/main/java/org/jlab/clas/reco Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 <classifier >jar-with-dependencies</classifier >
3737 </dependency >
3838
39- <dependency >
40- <groupId >org.jlab.coda</groupId >
41- <artifactId >jtools</artifactId >
42- </dependency >
43-
4439 <dependency >
4540 <groupId >cnuphys</groupId >
4641 <artifactId >magfield</artifactId >
Original file line number Diff line number Diff line change 55import org .jlab .clara .base .error .ClaraException ;
66import org .jlab .clara .engine .ClaraSerializer ;
77import org .jlab .clara .engine .EngineDataType ;
8- import org .jlab .clas12 .tools .MimeType ;
9- import org .jlab .clas12 .tools .property .JPropertyList ;
108import org .jlab .jnp .hipo4 .data .Event ;
119
1210
@@ -30,22 +28,9 @@ public Object read(ByteBuffer buffer) throws ClaraException {
3028 }
3129 }
3230
33- public static final EngineDataType EVIO = new EngineDataType (MimeType . EVIO . type () , EngineDataType .BYTES .serializer ());
31+ public static final EngineDataType EVIO = new EngineDataType ("binary/data-evio" , EngineDataType .BYTES .serializer ());
3432
3533 public static final EngineDataType HIPO =
3634 new EngineDataType ("binary/data-hipo" , new HipoSerializer ());
3735
38- public static final EngineDataType PROPERTY_LIST = new EngineDataType (MimeType .PROPERTY_LIST .type (), new ClaraSerializer () {
39-
40- @ Override
41- public ByteBuffer write (Object data ) throws ClaraException {
42- JPropertyList pl = (JPropertyList ) data ;
43- return ByteBuffer .wrap (pl .getStringRepresentation (true ).getBytes ());
44- }
45-
46- @ Override
47- public Object read (ByteBuffer buffer ) throws ClaraException {
48- return new JPropertyList (new String (buffer .array ()));
49- }
50- });
5136}
Original file line number Diff line number Diff line change 207207 <version >16.6.1</version >
208208 </dependency >
209209
210- <dependency >
211- <groupId >org.jlab.coda</groupId >
212- <artifactId >jtools</artifactId >
213- <version >2.2</version >
214- </dependency >
215-
216210 <dependency >
217211 <groupId >org.jlab.jnp</groupId >
218212 <artifactId >jnp-hipo</artifactId >
You can’t perform that action at this time.
0 commit comments