Meta tags:
description= A simple command-line argument parser for Java applications that relies on records and sealed interfaces;
keywords= record-args;
Headings (most frequently used words):
record, args, getting, started,
Text of the page (most frequently used words):
java (38), project (14), args (13), #record (8), and (5), records (5), the (5), this (5), junit (5), serverargs (4), community (4), code (4), github (3), for (3), documentation (3), arguments (3), their (3), recordargs (3), maven (3), getting (3), started (3), command (3), optional (3), string (3), your (3), follow (3), share (3), with (3), about (3), pioneer (3), demos (3), streams (3), core (3), clean (3), license (2), privacy (2), rss (2), stackoverflow (2), twitch (2), youtube (2), discord (2), mastodon (2), bluesky (2), names (2), nipafx (2), uses (2), line (2), create (2), let (2), without (2), sealed (2), interfaces (2), parse (2), url (2), port (2), that (2), simple (2), active (2), various (2), platforms (2), watch (2), space (2), there (2), get (2), notified (2), when (2), publish (2), new (2), content (2), post (2), talks (2), libfx (2), var (2), turn (2), year (2), tools (2), techniques (2), switch (2), serialization (2), reflection (2), valhalla (2), panama (2), loom (2), leyden (2), amber (2), performance (2), patterns (2), pattern (2), matching (2), ramp (2), migration (2), meta (2), libraries (2), lambda (2), javafx (2), next (2), basics (2), j_ms (2), generics (2), dop (2), deprecation (2), libs (2), collections (2), architecture (2), tags (2), works (2), javascript (2), contact, imprint, types, advanced, features, error, handling, check, out, readme, artifact, group, dev, available, central, component, identify, canonical, constructors, instances, immutability, you, freely, pass, them, around, fear, unwanted, changes, optionality, model, mutually, exclusive, sets, called, modes, actions, class, argsparseexception, throws, main, void, static, public, launch, localhost, 8080, array, instance, int, captures, application, configuration, using, two, step, process, toc, table, contents, argument, parser, applications, relies, everything, slides, upcoming, past, schedule, recordings, virtual, threads, vector, structured, concurrency, lilliput, galahad, babylon, openjdk, conversation, book, club, videos, jms, newsletter, blog, posts, testing, rant, jigsaw, jdeps, impulse, default, methods, lang, review, comments, words, site, well, but, even, better, enabled,
Text of the page (random words):
record args nipafx this site works well without javascript but it works even better with javascript enabled bluesky mastodon discord youtube twitch github stackoverflow rss words tags architecture clean code clean comments code review collections community core lang core libs default methods deprecation documentation dop generics impulse j_ms java 10 java 11 java 12 java 13 java 16 java 17 java 18 java 20 java 23 java 24 java 25 java 26 java 27 java 8 java 9 java basics java next javafx jdeps js junit 5 junit pioneer lambda libfx libraries maven meta migration on ramp optional pattern matching patterns performance project amber project jigsaw project leyden project loom project panama project valhalla rant record args records reflection serialization streams switch techniques testing tools turn of the year var blog posts newsletter the jms videos tags ai architecture book club clean code collections community conversation core libs deprecation documentation dop generics j_ms java 10 java 11 java 12 java 16 java 17 java 18 java 19 java 21 java 22 java 23 java 24 java 25 java 26 java 27 java 28 java 8 java 9 java basics java next javafx junit 5 junit pioneer lambda libraries maven meta migration on ramp openjdk optional pattern matching patterns performance project amber project babylon project galahad project leyden project lilliput project loom project panama project valhalla records reflection serialization streams structured concurrency switch techniques tools turn of the year var vector virtual threads recordings streams schedule code demos demos demos junit pioneer record args libfx talks my talks past upcoming slides about about me license privacy everything about record args a simple command line argument parser for java applications that relies on records and sealed interfaces record args table of contents getting started share follow share this post with your community i m active on various platforms watch this space or follow me there to get notified when i publish new content toc getting started s f share this post with your community i m active on various platforms watch this space or follow me there to get notified when i publish new content using recordargs is a simple two step process create a record that captures your application s configuration record serverargs string url int port let args parse the args string array to an instance of it launch command java url localhost port 8080 public static void main string args throws argsparseexception serverargs serverargs args parse args serverargs class recordargs uses records component names to identify command line arguments their canonical constructors to create instances and their immutability to let you freely pass them around without fear of unwanted changes it uses optional for optionality and sealed interfaces to model mutually exclusive sets of arguments so called modes or actions getting started recordargs is available on maven central group id dev nipafx args artifact id record args for documentation on arguments e g their names and types args records advanced features and error handling check out the readme on github bluesky mastodon discord youtube twitch github stackoverflow rss imprint privacy contact license
|