-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
clough
committed
Nov 24, 2019
1 parent
b845ba2
commit a31036f
Showing
4 changed files
with
20 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 9 additions & 1 deletion
10
bom-panelizer/src/main/java/com/clough42/bom/panelizer/panelizer/Panelizer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,26 @@ | ||
package com.clough42.bom.panelizer.panelizer; | ||
|
||
import com.clough42.bom.panelizer.csv.BomFile; | ||
|
||
import java.io.File; | ||
import java.io.FileNotFoundException; | ||
import java.io.FileReader; | ||
import java.io.IOException; | ||
|
||
public class Panelizer { | ||
|
||
public Panelizer() { | ||
} | ||
|
||
public void panelize(File bomFile, File centroidFile, File panelFile, File outputBomFile, File outputCentroidFile) { | ||
public void panelize(File bomFile, File centroidFile, File panelFile, File outputBomFile, File outputCentroidFile) throws IOException { | ||
System.out.println("bomFile: " + bomFile.getAbsolutePath()); | ||
System.out.println("centroidFile: " + centroidFile.getAbsolutePath()); | ||
System.out.println("panelFile: " + panelFile.getAbsolutePath()); | ||
System.out.println("outputBomFile: " + outputBomFile.getAbsolutePath()); | ||
System.out.println("outputCentroidFile: " + outputCentroidFile.getAbsolutePath()); | ||
|
||
BomFile inputBom = BomFile.load(new FileReader(bomFile)); | ||
BomFile inputCentroid = BomFile.load(new FileReader(centroidFile)); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters