|
@@ -36,20 +36,19 @@ public class D00009Service extends D00009BaseModel implements ExecProcessFlow {
|
|
|
outPath=TemplateGenerator.BPATH+"/"+aid+"/fire/out";
|
|
|
fileName ="POST"+step+".vtk";
|
|
|
}
|
|
|
- if(stype.endsWith("Warter")){
|
|
|
+ if(stype.endsWith("Water")){
|
|
|
outPath=TemplateGenerator.BPATH+"/"+aid+"/warter/out";
|
|
|
fileName ="Post"+step+".vtk";
|
|
|
}
|
|
|
Path path = Paths.get(outPath+"/"+fileName);
|
|
|
- System.out.println(path.toString());
|
|
|
String mimeType = MFMimeTypeUtils.getMimeType(path);
|
|
|
- System.out.println(mimeType);
|
|
|
HttpServerTransFile transFile = new HttpServerTransFile(fileName, mimeType, path);
|
|
|
UtilTools.setHttpServerTransFile(transFile);
|
|
|
}
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
Path path = XIFileUtils.getAbsolutePath("D://POST12.vtk");
|
|
|
+ System.out.println(path.toString());
|
|
|
String mimeType = MFMimeTypeUtils.getMimeType(path);
|
|
|
System.out.println(mimeType);
|
|
|
}
|