operator | method
Returns a new TarFormat that signifies that it can be either
this
or other
's format.
Example:
TarFormat format = TarFormat.USTAR | TarFormat.PAX;
The above code would signify that we have limited format
to either
the USTAR or PAX format, but need further information to refine the guess.
Implementation
TarFormat operator |(TarFormat other) {
return mayBe(other);
}