Examples of TSK_DB_FILES_TYPE_ENUM


Examples of org.sleuthkit.datamodel.TskData.TSK_DB_FILES_TYPE_ENUM

            statement.setLong(2, itemToAdd.getId());
          }
          statement.setString(3, itemToAdd.getName());

          // type
          final TSK_DB_FILES_TYPE_ENUM type = TSK_DB_FILES_TYPE_ENUM.CARVED;
          statement.setShort(4, type.getFileType());

          // has_path
          statement.setBoolean(5, true);

          // dirType
View Full Code Here

Examples of org.sleuthkit.datamodel.TskData.TSK_DB_FILES_TYPE_ENUM

        } else if (type == TSK_DB_FILES_TYPE_ENUM.VIRTUAL_DIR.getFileType()) {
          final VirtualDirectory virtDir = rsHelper.virtualDirectory(rs);
          results.add(virtDir);
        } else if (type == TSK_DB_FILES_TYPE_ENUM.UNALLOC_BLOCKS.getFileType()
            || type == TSK_DB_FILES_TYPE_ENUM.CARVED.getFileType()) {
          TSK_DB_FILES_TYPE_ENUM atype = TSK_DB_FILES_TYPE_ENUM.valueOf(type);
          String parentPath = rs.getString("parent_path"); //NON-NLS
          if (parentPath == null) {
            parentPath = ""; //NON-NLS
          }
          LayoutFile lf = new LayoutFile(this, rs.getLong("obj_id"), //NON-NLS
View Full Code Here

Examples of org.sleuthkit.datamodel.TskData.TSK_DB_FILES_TYPE_ENUM

   */
  private List<FsContent> resultSetToFsContents(ResultSet rs) throws SQLException {
    List<FsContent> results = new ArrayList<FsContent>();
    List<AbstractFile> temp = resultSetToAbstractFiles(rs);
    for (AbstractFile f : temp) {
      final TSK_DB_FILES_TYPE_ENUM type = f.getType();
      if (type.equals(TskData.TSK_DB_FILES_TYPE_ENUM.FS)) {
        results.add((FsContent) f);
      }
    }
    return results;
  }
View Full Code Here

Examples of org.sleuthkit.datamodel.TskData.TSK_DB_FILES_TYPE_ENUM

        if (!initialized) {
            return ProcessResult.OK;
        }

        // only process files whose type is TSK_DB_FILES_TYPE_ENUM.UNALLOC_BLOCKS
        TSK_DB_FILES_TYPE_ENUM type = abstractFile.getType();
        if (type != TSK_DB_FILES_TYPE_ENUM.UNALLOC_BLOCKS) {
            return ProcessResult.OK;
        }

        // create the output directory for this run
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.