Skip navigation links

Package org.afplib.helper.formdef

provides helper for working with formdef and medium maps (aka copy group).

See: Description

Package org.afplib.helper.formdef Description

provides helper for working with formdef and medium maps (aka copy group).

Start with reading the formdef:

try(AfpInputStream ain = new AfpInputStream(new FileInputStream(file))) {
        Formdef formdef = FormdefScanner.scan(ain);
}

Find some medium maps:

MediumMap map = formdef.findByName("MM000000");
map = formdef.findFirstByBin(1);
map = formdef.findFirstByMediaName("A108", Plex.DUPLEX);
MediumMap[] maps = formdef.mediumMaps();

Inspect medium map:

Integer bin = map.getBin();
Plex plex = map.getPlex();
Skip navigation links

Copyright © 2017. All rights reserved.