Package org.jmule.core.edonkey.metfile

Examples of org.jmule.core.edonkey.metfile.KnownMet


    return file_list;
  }

  public void writeMetadata() {
    try {
      KnownMet known_met = new KnownMet(ConfigurationManager.KNOWN_MET);
      known_met.writeFile(sharedFiles.values());
      known_met.close();
    } catch (Throwable t) {
      t.printStackTrace();
    }
  }
View Full Code Here


            fileHash))
          files_hash_set.add(fileHash);

      // load shared completed files
      try {
        KnownMet known_met = new KnownMet(knownFilePath);
        known_file_list = known_met.loadFile();
        known_met.close();
      } catch (Throwable e) {
        e.printStackTrace();
        known_file_list = new Hashtable<String, KnownMetEntity>();
      }
View Full Code Here

TOP

Related Classes of org.jmule.core.edonkey.metfile.KnownMet

Copyright © 2018 www.massapicom. 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.