Changeset 6827
- Timestamp:
- 10/09/06 20:10:36 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Jav_CO/com/scenari/s/co/odstorage/OdFile.java
r6584 r6827 74 74 75 75 public static final String ODPATH_THUMBNAILS = "Thumbnails/"; 76 77 public static final String ODPATH_SETTINGS = "settings.xml"; 76 78 77 79 /** Attention : le fichier "mimetype" ne doit aps être compressé. */ … … 178 180 * <li>META-INF/manifest.xml 179 181 * <li>mimetype 182 * <li>(settings.xml) optionnel 180 183 * </ul> 181 184 * … … 338 341 * Inclut un OD dans un autre OD dans le path spécifié. 339 342 */ 340 public void includeOd(String pOdPath, IHSourceElem pSource ) throws Exception {343 public void includeOd(String pOdPath, IHSourceElem pSource, Boolean pRemoveSettings) throws Exception { 341 344 if (pSource.hGetStatus() == IHSourceElem.STATUS_FILE) { 342 345 if (!pOdPath.endsWith("/")) … … 356 359 } else if (vOdPath.startsWith(ODPATH_THUMBNAILS)) { 357 360 // Thumbnails, on ne les reprend pas. 361 }else if(pRemoveSettings.booleanValue() && vOdPath.startsWith(ODPATH_SETTINGS)){ 362 // Settings, on ne le reprend pas. 358 363 } else if (vOdPath.equals(ODPATH_MIMETYPE)) { 359 364 if (vMainMime == null || vMainMime.length() == 0) {
Note: See TracChangeset
for help on using the changeset viewer.