Package com.diffplug.spotless
Class PaddedCell.DirtyState
- java.lang.Object
-
- com.diffplug.spotless.PaddedCell.DirtyState
-
- Enclosing class:
- PaddedCell
public static class PaddedCell.DirtyState extends java.lang.ObjectThe clean/dirty state of a single file. Intended use: -isClean()means that the file is clean, and there's nothing else to say -didNotConverge()means that we were unable to determine a clean state - once you've tested the above conditions and you know that it's a dirty file with a converged state, then you can callwriteCanonicalTo(OutputStream)to get the canonical form of the given file.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandidNotConverge()booleanisClean()voidwriteCanonicalTo(java.io.File file)voidwriteCanonicalTo(java.io.OutputStream out)
-
-
-
Method Detail
-
isClean
public boolean isClean()
-
didNotConverge
public boolean didNotConverge()
-
writeCanonicalTo
public void writeCanonicalTo(java.io.File file) throws java.io.IOException- Throws:
java.io.IOException
-
writeCanonicalTo
public void writeCanonicalTo(java.io.OutputStream out) throws java.io.IOException- Throws:
java.io.IOException
-
-