コード例 #1
0
 /**
  * Constructs a new <tt>Response</tt> instance from the data in the specified <tt>FileDesc</tt>.
  *
  * @param fd the <tt>FileDesc</tt> containing the data to construct this <tt>Response</tt> -- must
  *     not be <tt>null</tt>
  */
 public Response(FileDesc fd) {
   this(
       fd.getIndex(),
       fd.getFileSize(),
       fd.getFileName(),
       fd.getUrns(),
       null,
       new GGEPContainer(
           getAsEndpoints(RouterService.getAltlocManager().getDirect(fd.getSHA1Urn())),
           CreationTimeCache.instance().getCreationTimeAsLong(fd.getSHA1Urn())),
       null);
 }