Skip to main content

[jsr363-experts] Remove javax.measure.format.Parser interface

  • From: Martin Desruisseaux < >
  • To:
  • Subject: [jsr363-experts] Remove javax.measure.format.Parser interface
  • Date: Sat, 13 Dec 2014 20:35:25 +0900
  • Organization: Geomatys

I would like to propose (again) to remove the
javax.measure.format.Parser interface. I think that a general-purpose
Parser interface is out of JSR-363 scope (why would someone who need
such general-purpose interface would use the JSR-363 one instead than
the one of any other projects?). Furthermore, the current Parser
interface misses its generality intend, since its parse method declares
a ParserException which extends MeasurementException.

My proposal:

  * Remove Parser (move its method into UnitFormat)
  * Rename ParserException as UnparseableUnitException. This exception
    is already linked to units of measurement anyway through its
    MeasurementException parent class.
  * Since we have only 2 types, move them in the javax.measure package.

Martin



[jsr363-experts] Remove javax.measure.format.Parser interface

Martin Desruisseaux 12/13/2014

[jsr363-experts] Re: Remove javax.measure.format.Parser interface

Werner Keil 12/13/2014

[jsr363-experts] Re: Remove javax.measure.format.Parser interface

Leonardo Lima 12/16/2014

[jsr363-experts] Re: Remove javax.measure.format.Parser interface

Martin Desruisseaux 12/16/2014

[jsr363-experts] Re: Remove javax.measure.format.Parser interface

Werner Keil 12/16/2014
 
 
Close
loading
Please Confirm
Close