package de.psdev.licensesdialog.licenses;

import android.content.Context;
import de.psdev.licensesdialog.R;

public class BSD3ClauseLicense extends License {

	private static final long serialVersionUID = -5205394619884057474L;

	@Override
	public String getName() {
		return "BSD 3-Clause License";
	}

	@Override
	public String getSummaryText(final Context context) {
		return getContent(context, R.raw.bsd3_summary);
	}

	@Override
	public String getFullText(final Context context) {
		return getContent(context, R.raw.bsd3_full);
	}

	@Override
	public String getVersion() {
		return "";
	}

	@Override
	public String getUrl() {
		return "http://opensource.org/licenses/BSD-3-Clause";
	}

}

@@ -1,8 +1,635 @@
+/*%0A * Copyright 2013 Philip Schiffer%0A *%0A *    Licensed under the Apache License, Version 2.0 (the %22License%22);%0A *    you may not use this file except in compliance with the License.%0A *    You may obtain a copy of the License at%0A *%0A *        http://www.apache.org/licenses/LICENSE-2.0%0A *%0A *    Unless required by applicable law or agreed to in writing, software%0A *    distributed under the License is distributed on an %22AS IS%22 BASIS,%0A *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A *    See the License for the specific language governing permissions and%0A *    limitations under the License.%0A */%0A%0A
 package 
@@ -780,17 +780,20 @@
 ense %7B%0A%0A
-%09
+    
 private 
@@ -853,17 +853,20 @@
 7474L;%0A%0A
-%09
+    
 @Overrid
@@ -859,33 +859,36 @@
 %0A%0A    @Override%0A
-%09
+    
 public String ge
@@ -893,26 +893,32 @@
 getName() %7B%0A
-%09%09
+        
 return %22BSD 
@@ -936,21 +936,27 @@
 cense%22;%0A
-%09%7D%0A%0A%09
+    %7D%0A%0A    
 @Overrid
@@ -949,33 +949,36 @@
 %0A%0A    @Override%0A
-%09
+    
 public String ge
@@ -1007,34 +1007,40 @@
 text context) %7B%0A
-%09%09
+        
 return getConten
@@ -1071,21 +1071,27 @@
 mmary);%0A
-%09%7D%0A%0A%09
+    %7D%0A%0A    
 @Overrid
@@ -1084,33 +1084,36 @@
 %0A%0A    @Override%0A
-%09
+    
 public String ge
@@ -1143,26 +1143,32 @@
  context) %7B%0A
-%09%09
+        
 return getCo
@@ -1200,21 +1200,27 @@
 _full);%0A
-%09%7D%0A%0A%09
+    %7D%0A%0A    
 @Overrid
@@ -1213,33 +1213,36 @@
 %0A%0A    @Override%0A
-%09
+    
 public String ge
@@ -1250,26 +1250,32 @@
 Version() %7B%0A
-%09%09
+        
 return %22%22;%0A%09
@@ -1277,13 +1277,19 @@
 %22%22;%0A
-%09%7D%0A%0A%09
+    %7D%0A%0A    
 @Ove
@@ -1294,17 +1294,20 @@
 verride%0A
-%09
+    
 public S
@@ -1327,10 +1327,16 @@
 ) %7B%0A
-%09%09
+        
 retu
@@ -1389,9 +1389,12 @@
 e%22;%0A
-%09
+    
 %7D%0A%0A%7D

Add missing copyright notice