Package io.github.isotes.vs.utils
Class VsSolution
- java.lang.Object
-
- io.github.isotes.vs.utils.VsSolution
-
-
Field Summary
Fields Modifier and Type Field Description List<VsSolutionSection>
globalSections
boolean
hasBom
List<String>
headerLines
String
newline
Path
path
List<VsSolutionProject>
projects
-
Constructor Summary
Constructors Constructor Description VsSolution(Path path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VsSolutionProject
byGuid(String guid)
Optional<VsSolutionSection>
globalSection(String label, String when)
void
save(Path path)
String
stringify()
void
stringify(List<String> output)
-
-
-
Field Detail
-
path
public Path path
-
newline
public String newline
-
hasBom
public boolean hasBom
-
projects
public final List<VsSolutionProject> projects
-
globalSections
public final List<VsSolutionSection> globalSections
-
-
Constructor Detail
-
VsSolution
public VsSolution(Path path)
-
-
Method Detail
-
byGuid
public VsSolutionProject byGuid(String guid)
-
globalSection
public Optional<VsSolutionSection> globalSection(String label, String when)
-
stringify
public String stringify()
-
save
public void save(Path path)
-
-