title: how to upload file to document and library in liferay 6.1
body: <p>how to upload the file to document and library in <strong>liferay 6.1</strong> </p>
  
  <p>i am using </p>
  
  <pre><code>addFileEntry(long userId, long groupId, long repositoryId, long folderId, String sourceFileName, String mimeType, String title, String description, String changeLog, long fileEntryTypeId, Map&lt;String,Fields&gt; fieldsMap, File file, InputStream is, long size, ServiceContext serviceContext) 
  </code></pre>
  
  <p>of <code>DLFileEntryLocalServiceUtil</code> class</p>