title: Not able to solve import on com.google.appengine.tools.cloudstorage.GcsFilename Eclipse
body: <p>I am trying to serve a blob , which take objects from GCS and serve it . In my servlet I need to import:</p>
  
  <p>import com.google.appengine.tools.cloudstorage.GcsFileOptions;</p>
  
  <p>import com.google.appengine.tools.cloudstorage.GcsFilename</p>
  
  <p>I have downloaded Cloud Storage API from this link: <a href="https://code.google.com/p/google-api-java-client/wiki/APIs#Cloud_Storage_API" rel="nofollow">https://code.google.com/p/google-api-java-client/wiki/APIs#Cloud_Storage_API</a></p>
  
  <p>But somehow I am not able to compile my servlet. What am I missing here!!..Can anyone please tell me the steps on how to add this library in web application in Eclipse?</p>
  
  <p>Code which I need to compile:</p>
  
  <pre><code>     private GcsFilename getFileName(HttpServletRequest req) {
                    String[] splits = req.getRequestURI().split("/", 4);
                    if (!splits[0].equals("") || !splits[1].equals("gcs")) {
                    throw new IllegalArgumentException("The URL is not formed as expected. " +
                    "Expecting /gcs/&lt;bucket&gt;/&lt;object&gt;");
                  }
              return new GcsFilename(splits[2], splits[3]);
         }
  </code></pre>