Would registering a converter for type Enum work? You just have to
make sure you convert to the appropriate class at runtime (the class
that's passed in) using the static method on the Enum class. I don't
know if ConvertUtils is smart enough to know that if you register
something for a supertype
J?rg Schaible wrote:
> Hi Michael,
>
> Michael Heuer wrote:
>
> > Hello,
> >
> > With cli 1.1 and the java class wrapped with a bash script, quoted
> > arguments are split into multiple values.
> >
> > myclass.sh:
> >
> > #!/bin/bash
> >
> > java MyClass $@
> >
> >
> > e.g.
> >
> > $ myclass.sh --
Hi Michael,
Michael Heuer wrote:
> Hello,
>
> With cli 1.1 and the java class wrapped with a bash script, quoted
> arguments are split into multiple values.
>
> myclass.sh:
>
> #!/bin/bash
>
> java MyClass $@
>
>
> e.g.
>
> $ myclass.sh --foo "Foo Bar"
>
>
> Option foo = ...;
> Options o
Hello,
My use case is -h,--help text prints to STDOUT and command line errors
print to STDERR.
This works fine in the simple case
Options options = new Options();
HelpFormatter helpFormatter = new HelpFormatter();
Option help = new Option("h", "help", false, "print help text to STDOUT");
help.se
Hello,
With cli 1.1 and the java class wrapped with a bash script, quoted
arguments are split into multiple values.
myclass.sh:
#!/bin/bash
java MyClass $@
e.g.
$ myclass.sh --foo "Foo Bar"
Option foo = ...;
Options options = ...;
CommandLineParser parser = ...;
CommandLine commandLine = p
Good suggestion, I thought of that, but its a bit painful to register a
converter for each Enum as I have lots of Enums.
Is there a way to register a generic routine for all Enums??
Thanks
Paul.
On Thu, Mar 12, 2009 at 3:32 PM, James Carman wrote:
> Can you register your own converter?
>
> On
Managed to compile jsvc on AIX 5.3.0 with IBM java5 by modifying
support/appsupport.m4 to include aix*, but when I try to run my class jsvc
fail to locate the JVM library file.
Running with the -debug flag reveals that jsvc is looking for a jvm.cfg, but
such a file is not present in the IBM java p
On Thu, Mar 12, 2009 at 11:01 AM, Linda Erlenhov
wrote:
> Hello again.
>
> I have made som improvements in my code, but now new intresting and funny
> things have happened instead.
>
> I have this very simple file:
> --
> http://www.w3.org/2005/07/scxml"; version="1.0"
On Thu, Mar 12, 2009 at 7:03 AM, Anna Södling wrote:
> Hello,
>
> Another question popped up...about conditions and AND and OR-operations.
> More likely, how to express them in SCXML. Is it possible to write for
> example "data1 and data2" or what does the syntax look like for these
> two operatio
Hi to all,
I'm new to digester and I have the following problem:
I have such an XML File to parse:
2009-03-12T14:00:14Z
http://url.url.org/abc.asp
oai:oai.ethz.ch:e-collection/005583701
2008-12-08
2009
http://www.openarchives.or
Hi,
I'm relatively new to digester. I'm in a situation where I'm parsing the XML
with digester and when calling bean-property-setter-rule, it trims leading
and trailing space from the XML body. This is exactly what I dont want. I
want spaces to retail.
Is there anyway to achieve this for XML rule
Hello again.
I have made som improvements in my code, but now new intresting and funny
things have happened instead.
I have this very simple file:
--
http://www.w3.org/2005/07/scxml"; version="1.0"
initialstate="7">
---
And have writ
Can you register your own converter?
On Thu, Mar 12, 2009 at 10:25 AM, Paul Hussein wrote:
> Yes, but I dont have a handle to the type, I just have the string. I want
> beanutils to do the
> Type.valueOf("One")
>
> Thanks
>
> Paul.
>
> On Wed, Mar 11, 2009 at 1:06 PM, Andrew Hughes wrote:
>
>> O
Yes, but I dont have a handle to the type, I just have the string. I want
beanutils to do the
Type.valueOf("One")
Thanks
Paul.
On Wed, Mar 11, 2009 at 1:06 PM, Andrew Hughes wrote:
> Off the top of my head... couldn't you do something like...
>
> Type.valueOf("One")
>
> Hence do the following
Hello,
Another question popped up...about conditions and AND and OR-operations.
More likely, how to express them in SCXML. Is it possible to write for
example "data1 and data2" or what does the syntax look like for these
two operations? And is it possible to have more than one operation, like
"da
Hi Rory,
I tried to use tcpdump to capture the output from my application and the
server input. But I were not able to notice significant varieties... It
seems that the server send empty responses.
Maybe I have to access the nntp server in different ways? I already noticed
that newsreader (e.g.
Hi,
I'm relatively new to digester. I'm in a situation where I'm parsing the XML
with digester and when calling bean-property-setter-rule, it trims leading
and trailing space from the XML body. This is exactly what I dont want. I
want spaces to retail.
Is there anyway to achieve this for XML rule
17 matches
Mail list logo