any LWP::UserAgent equivalent in java && a java regex question
Hi All
I have found Perl's LWP::UserAgent and related packages useful. Does
java have any thing
equivalent i.e. that won't make me do encoding when I want to do an
http POST? I am a newbie
to java. Also, is there anything like java CPAN ?
Also, in perl, if I do /some pattern (some other pattern)/ I get "some
other pattern" in $1. I found
out that () have different meanings in Java. The only to get $1 in
Java is to write more lines.
Thanks in advance
Z. M. Wu
.
Relevant Pages
- Re: Do I overuse class methods?
... I have spent much time in Java / C# environments with heavy use of dependency injection pattern so maybe this is source of my aversion to stateless classes manual instantiation - usually something else has done it for me:D Using Singleton pattern is more similar to Service Locator but it may be good alternative. ... Ruby's design patterns are extremely lightweight compared to their Java equivalents. ... Rick Olsen's Design Patterns in Ruby book shows good idiomatic Ruby implementations of the GoF patterns. ... Ruby has far better mechanisms than dependency injection. ... (comp.lang.ruby) - Re: Sum types (Was: Re: OT: More Antilock brakes)
... In current implementations of Java, the object overhead is typically 64 bits. ... for pattern matching in Java. ... I have nothing against built-in pattern matchers that are powerful ... (comp.lang.lisp) - Re: Sum types (Was: Re: OT: More Antilock brakes)
... > report that having written a frontend and optimizer in 100% pure Java, ... > the visitor pattern and inner classes heavily, I fould the lack of pattern ... > matching to be annoying but not a real pain.* The lack of parametric ... polymorphism, and syntax for tuples and lists. ... (comp.lang.lisp) - Re: Sum types (Was: Re: OT: More Antilock brakes)
... the visitor pattern and inner classes heavily, I fould the lack of pattern ... matching to be annoying but not a real pain.* The lack of parametric ... I were doing this in Java that supports generics, I would be hard pressed to ... was done using the AST nodes was quite pleasant. ... (comp.lang.lisp) - Re: Visitor-patter
... You need GnuPG to verify this message ... A quick search for visitor pattern Java gave me the following as a ... visitors pattern, I wanted something more.. ... but the visitor pattern isn?t covered in it (only very briefly in ... (comp.lang.java.help) |
|