@Override
  public ResourceInfo getInfo() throws IOException
  {
    RAMEntry entry = getRAMEntry();

    if(entry != null)
      return new StaticInfo(entry.getContentLength(),
                            entry.lastModified());
    else
      throw new ResourceNotFoundException(toURI());
  }
@Override
  public ResourceInfo getInfo() throws IOException
  {
    RAMEntry entry = getRAMEntry();

    if(entry != null)
      return new StaticInfo(entry.getContentLength(),
                            entry.lastModified());
    else
      throw new ResourceNotFoundException(toURI());
  }
@ Override public ResourceInfo getInfo ( ) throws IOException { RAMEntry entry = getRAMEntry ( ) ; if ( entry != null ) return new StaticInfo ( entry . getContentLength ( ) , entry . lastModified ( ) ) ; else throw new ResourceNotFoundException ( toURI ( ) ) ; }
Efficiently returns all information about the resource.

@return information about this resource.
@throws IOException if cannot get information
Efficiently returns all information about the resource .