Uses of Class
com.ultikits.ultitools.config.document.OperatorFileWriter.Side
Packages that use OperatorFileWriter.Side
Package
Description
The config storage layer: a config file as a document over SnakeYAML's node tree, the plain-data
boundary every value crosses before it reaches a file, the configuration write gate
(
OperatorFileWriter) every write to an operator-editable configuration file goes through, and the
atomic writer that publishes what the gate verified.-
Uses of OperatorFileWriter.Side in com.ultikits.ultitools.config.document
Methods in com.ultikits.ultitools.config.document with parameters of type OperatorFileWriter.SideModifier and TypeMethodDescriptionprivate static StringOperatorFileWriter.compareUnowned(OperatorFileWriter.Side left, OperatorFileWriter.Side right) Check 3: the unowned lines of both sides are the same sequence, each line with its terminator.private static StringOperatorFileWriter.markExpandedSection(OperatorFileWriter.Side left, OperatorFileWriter.Side right, List<String> section, boolean leftBom, boolean rightBom) The owned span of an expanded section (OperatorFileWriter.EmptySections, #620): its key line on both sides and nothing else - the inserted keys below it are marked as inserted values byOperatorFileWriter.markSpans(com.ultikits.ultitools.config.document.OperatorFileWriter.Side, com.ultikits.ultitools.config.document.OperatorFileWriter.Side, com.ultikits.ultitools.config.document.OperatorFileWriter.Changes, com.ultikits.ultitools.config.document.OwnedPaths).private static StringOperatorFileWriter.markSpans(OperatorFileWriter.Side left, OperatorFileWriter.Side right, OperatorFileWriter.Changes changes, OwnedPaths owned) Checks 2 and 5: marks every owned span on both sides, refusing a span that shares a line with an unowned key.private static int[]OperatorFileWriter.ownedCommentLines(OwnedPaths owned, OperatorFileWriter.Side left, OperatorFileWriter.Side right, List<String> path) The owned comment lines directly above the key atpath, before and after the edit: the whole comment, or - for a framework comment run - the run's length in the file as read and the length of what replaced it.