张波

提交代码,待梳理业务数据并拆解

Showing 73 changed files with 3939 additions and 0 deletions

Too many changes to show.

To preserve performance only 73 of 73+ files are displayed.

*.iml
.gradle
/local.properties
/.idea
.DS_Store
/build
/captures
.externalNativeBuild
.cxx
local.properties
... ...
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="EclipseCodeFormatterProjectSettings">
<option name="projectSpecificProfile">
<ProjectSpecificProfile>
<option name="formatter" value="ECLIPSE" />
<option name="importOrder" value="java;javax;org;android;androidx;com;" />
<option name="pathToConfigFileJava" value="$PROJECT_DIR$/config/CodeQuality/WonderTek_CodeFormatter_Convention_v1.0.xml" />
<option name="selectedJavaProfile" value="WonderTek_CodeFormatter_Convention_v1.0" />
</ProjectSpecificProfile>
</option>
</component>
</project>
\ No newline at end of file
... ...
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
... ...
/build
\ No newline at end of file
... ...
plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-android-extensions'
}
android {
compileSdkVersion var.compileSdkVersion
buildToolsVersion var.buildToolsVersion
defaultConfig {
applicationId "com.example.myapplication"
minSdkVersion var.minSdkVersion
targetSdkVersion var.targetSdkVersion
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
ndk {
// noinspection ChromeOsAbiSupport
abiFilters "armeabi-v7a", "arm64-v8a", "x86"
}
javaCompileOptions {
annotationProcessorOptions {
arguments = [AROUTER_MODULE_NAME: project.getName()]
}
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
lintOptions {
abortOnError false
}
compileOptions {
// Java兼容性设置为Java 8
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
repositories {
flatDir {
dirs 'libs'
}
}
dependencies {
// implementation 'androidx.appcompat:appcompat:1.6.1'
implementation "com.google.android.material:material:1.4.0"
// implementation 'com.wd:startup:1.0.0'
}
\ No newline at end of file
... ...
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
\ No newline at end of file
... ...
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.example.myapplication">
<!-- 请求网络 -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-feature
android:name="android.software.leanback"
android:required="false" />
<application
android:name=".MyApplication"
android:allowBackup="true"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.MyApplication"
tools:targetApi="31">
<activity
android:name="com.example.myapplication.MainActivity"
android:exported="true"
android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
\ No newline at end of file
... ...
package com.example.myapplication;
import android.app.Activity;
import android.os.Bundle;
import androidx.annotation.Nullable;
/**
* @ProjectName: PeopleDailyVideo
* @Package: com.people.displayui.main
* @ClassName: WelcomeActivity
* @Description: 启动APP过渡页面
* @Author: wd
* @CreateDate: 2022/10/28 17:36
* @UpdateUser: wd
* @UpdateDate: 2022/10/28 17:36
* @UpdateRemark: 更新说明:
* @Version: 1.0
*/
public class MainActivity extends Activity {
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// 直接进入首页
}
}
... ...
package com.example.myapplication;
import android.app.Application;
import android.util.Log;
/**
* @author devel
* @time 2024/8/28 星期三 16:23
*/
public class MyApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
Log.e("zzzz","MyApplication onCreate");
// test
}
}
... ...
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:fillColor="#3DDC84"
android:pathData="M0,0h108v108h-108z" />
<path
android:fillColor="#00000000"
android:pathData="M9,0L9,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,0L19,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M29,0L29,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M39,0L39,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M49,0L49,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M59,0L59,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M69,0L69,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M79,0L79,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M89,0L89,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M99,0L99,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,9L108,9"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,19L108,19"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,29L108,29"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,39L108,39"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,49L108,49"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,59L108,59"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,69L108,69"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,79L108,79"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,89L108,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,99L108,99"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,29L89,29"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,39L89,39"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,49L89,49"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,59L89,59"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,69L89,69"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,79L89,79"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M29,19L29,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M39,19L39,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M49,19L49,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M59,19L59,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M69,19L69,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M79,19L79,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
</vector>
... ...
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z">
<aapt:attr name="android:fillColor">
<gradient
android:endX="85.84757"
android:endY="92.4963"
android:startX="42.9492"
android:startY="49.59793"
android:type="linear">
<item
android:color="#44000000"
android:offset="0.0" />
<item
android:color="#00000000"
android:offset="1.0" />
</gradient>
</aapt:attr>
</path>
<path
android:fillColor="#FFFFFF"
android:fillType="nonZero"
android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
android:strokeWidth="1"
android:strokeColor="#00000000" />
</vector>
\ No newline at end of file
... ...
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/rl_parent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white" />
\ No newline at end of file
... ...
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
<monochrome android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>
\ No newline at end of file
... ...
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
<monochrome android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>
\ No newline at end of file
... ...
No preview for this file type
No preview for this file type
No preview for this file type
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="purple_200">#FFBB86FC</color>
<color name="purple_500">#FF6200EE</color>
<color name="purple_700">#FF3700B3</color>
<color name="teal_200">#FF03DAC5</color>
<color name="teal_700">#FF018786</color>
<color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color>
</resources>
\ No newline at end of file
... ...
<resources>
<string name="app_name">My Application</string>
</resources>
\ No newline at end of file
... ...
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.MyApplication" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_500</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
<item name="colorOnPrimary">@color/white</item>
<!-- Secondary brand color. -->
<item name="colorSecondary">@color/teal_200</item>
<item name="colorSecondaryVariant">@color/teal_700</item>
<item name="colorOnSecondary">@color/black</item>
<!-- Status bar color. -->
<item name="android:statusBarColor">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
</style>
</resources>
\ No newline at end of file
... ...
<?xml version="1.0" encoding="utf-8"?><!--
Sample backup rules file; uncomment and customize as necessary.
See https://developer.android.com/guide/topics/data/autobackup
for details.
Note: This file is ignored for devices older that API 31
See https://developer.android.com/about/versions/12/backup-restore
-->
<full-backup-content>
<!--
<include domain="sharedpref" path="."/>
<exclude domain="sharedpref" path="device.xml"/>
-->
</full-backup-content>
\ No newline at end of file
... ...
apply plugin: 'maven'
buildscript {
ext.kotlin_version = "1.4.32"
repositories {
mavenLocal()
mavenCentral()
// 以下四行代码为阿里gradle源,需要的人自己放開使用
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven { url 'https://maven.aliyun.com/nexus/content/repositories/releases' }
//阿里云 maven
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'https://maven.aliyun.com/repository/releases' }
google()
maven { url "https://jitpack.io" }
//华为
maven { url 'https://developer.huawei.com/repo/' }
//阿里云QuickTracking
maven { url 'https://repo1.maven.org/maven2/' }
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
maven {
url 'https://maven.aliyun.com/nexus/content/repositories/google/'
name 'aliyun-google'
}
// TingYun
maven { url "https://nexus2.tingyun.com/nexus/content/repositories/snapshots/" }
}
dependencies {
classpath "com.android.tools.build:gradle:4.0.2"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.billy.android:autoregister:1.4.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
mavenLocal()
mavenCentral()
// 以下四行代码为阿里gradle源,需要的人自己放開使用
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven { url 'https://maven.aliyun.com/nexus/content/repositories/releases' }
//阿里云 maven
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'https://maven.aliyun.com/repository/releases' }
google()
maven { url "https://jitpack.io" }
//华为
maven { url 'https://developer.huawei.com/repo/' }
//阿里云QuickTracking
maven { url 'https://repo1.maven.org/maven2/' }
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
maven {
url 'https://maven.aliyun.com/nexus/content/repositories/google/'
name 'aliyun-google'
}
flatDir { dirs 'src/main/libs' }
// 快马私库
maven {
credentials {
username '6708d1cf6f4c940bd257c88d'
password 'Wm51gc4rARyr'
}
url 'https://packages.aliyun.com/6708d221eef79c23d7b02189/maven/repo-higom'
}
}
project.configurations.configureEach {
resolutionStrategy.eachDependency { details ->
if (details.requested.group == 'com.android.android.support' && !details.requested.name.contains('multidex')) {
details.useVersion "28.0.0"
}
}
}
// 强制依赖
configurations.configureEach {
exclude group: 'com.alipay.android.phone.thirdparty', module: 'securityguard-build'
resolutionStrategy {
force 'androidx.activity:activity:1.2.1'
force 'androidx.annotation:annotation:1.1.0'
force 'androidx.appcompat:appcompat:1.2.0'
force 'androidx.arch.core:core-common:2.1.0'
force 'androidx.arch.core:core-runtime:2.1.0'
force 'androidx.core:core-ktx:1.6.0'
force 'androidx.core:core:1.5.0'
force 'androidx.collection:collection:1.1.0'
force 'androidx.constraintlayout:constraintlayout:2.0.4'
force 'androidx.constraintlayout:constraintlayout-solver:2.0.4'
force 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
force 'androidx.fragment:fragment:1.3.1'
force 'androidx.lifecycle:lifecycle-common:2.3.0'
force 'androidx.multidex:multidex:2.0.1'
force 'androidx.recyclerview:recyclerview:1.2.0'
force 'androidx.vectordrawable:vectordrawable:1.1.0'
force 'androidx.vectordrawable:vectordrawable-animated:1.1.0'
force 'com.squareup.okhttp3:okhttp:4.9.1'
force 'com.squareup.okio:okio:2.7.0'
force 'org.jetbrains.kotlin:kotlin-stdlib:1.4.32'
force 'org.jetbrains.kotlin:kotilin-stdlib-jdk8:1.4.32'
force 'org.jetbrains:annotations:15.0'
force 'net.sf.proguard:proguard-base:6.1.0'
}
}
}
ext {
var = [
// SDK And Tools
applicationId : "com.wondertek.dss",
minSdkVersion : 25,
targetSdkVersion : 30,
compileSdkVersion: 30,
buildToolsVersion: "30.0.3",
// 版本号,正式版本 1.0.0 1000080 后两位,80即标识为发布版本
// 测试版本 1.0.0_TF1 1000001 后两位,01即为测试版本号,01-79
// 升级版本 1.0.0_RC1 1000081 后两位,81即为升级版本号,81-99
versionName : "1.0.0", // release正式
debugVnName : "", // debug开发模式 用于区分debug模式下上报的日志
versionCode : 100,
//此版本号是SDK版本,不能随便改
aar_version : "1.0.0",
]
}
... ...
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<profiles version="12">
<profile kind="CodeFormatterProfile" name="WonderTek_CodeFormatter_Convention_v1.0"
version="12">
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration"
value="insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_for_statment"
value="common_lines" />
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries"
value="true" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_method_invocation"
value="common_lines" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_imports" value="1" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags"
value="insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_switch_statement"
value="common_lines" />
<setting id="org.eclipse.jdt.core.formatter.comment.format_javadoc_comments" value="true" />
<setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.parentheses_positions_in_enum_constant_declaration"
value="common_lines" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off" />
<setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="1" />
<setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="49" />
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1" />
<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="1" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_binary_operator"
value="insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_if_while_statement"
value="common_lines" />
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant"
value="16" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.comment.indent_root_tags" value="true" />
<setting id="org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch"
value="true" />
<setting id="org.eclipse.jdt.core.formatter.enabling_tag" value="@formatter:on" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block"
value="insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return"
value="insert" />
<setting
id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration"
value="20" />
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line"
value="false" />
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field"
value="insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations"
value="1" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameterized_type_references"
value="16" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration"
value="insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_enum_constant"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column"
value="false" />
<setting id="org.eclipse.jdt.core.compiler.problem.enumIdentifier" value="error" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_block"
value="true" />
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration"
value="end_of_line" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="120" />
<setting id="org.eclipse.jdt.core.formatter.use_on_off_tags" value="false" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant"
value="insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator"
value="insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments"
value="true" />
<setting
id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_method_declaration"
value="end_of_line" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch"
value="16" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for"
value="insert" />
<setting
id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body"
value="0" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line"
value="false" />
<setting id="org.eclipse.jdt.core.formatter.alignment_for_binary_expression" value="16" />
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_catch_clause"
value="common_lines" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call"
value="16" />
<setting
id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header"
value="true" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block" value="end_of_line" />
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration"
value="end_of_line" />
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_lambda_body"
value="end_of_line" />
<setting id="org.eclipse.jdt.core.formatter.compact_else_if" value="true" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch"
value="insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line" value="true" />
<setting
id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration"
value="20" />
<setting id="org.eclipse.jdt.core.formatter.alignment_for_type_parameters" value="16" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation"
value="16" />
<setting
id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration"
value="20" />
<setting id="org.eclipse.jdt.core.compiler.problem.assertIdentifier" value="error" />
<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment"
value="true" />
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment"
value="true" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_binary_operator"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_unary_operator"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer"
value="20" />
<setting id="org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column"
value="true" />
<setting id="org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve" value="1" />
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_annotation"
value="common_lines" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_ellipsis"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration"
value="insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.comment.format_line_comments" value="true" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="false" />
<setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment" value="20" />
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header"
value="true" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration"
value="16" />
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration"
value="0" />
<setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression"
value="16" />
<setting
id="org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line"
value="false" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration"
value="end_of_line" />
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block_in_case"
value="end_of_line" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="false" />
<setting
id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression"
value="16" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while"
value="insert" />
<setting id="org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode" value="enabled" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.alignment_for_method_declaration" value="16" />
<setting id="org.eclipse.jdt.core.formatter.join_wrapped_lines" value="true" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.wrap_before_conditional_operator"
value="true" />
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases"
value="true" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.align_fields_grouping_blank_lines"
value="2147483647" />
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries"
value="true" />
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration"
value="end_of_line" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.alignment_for_resources_in_try" value="16" />
<setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations"
value="false" />
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_try_clause"
value="common_lines" />
<setting id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation"
value="80" />
<setting id="org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column"
value="false" />
<setting id="org.eclipse.jdt.core.compiler.source" value="1.8" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="4" />
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant"
value="insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression"
value="insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.comment.format_source_code" value="true" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_field" value="1" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer"
value="1" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_method" value="1" />
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration"
value="16" />
<setting
id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration"
value="16" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.wrap_before_assignment_operator"
value="false" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement"
value="do not insert" />
<setting id="org.eclipse.jdt.core.compiler.codegen.targetPlatform" value="1.8" />
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_switch"
value="end_of_line" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.comment.format_html" value="true" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_method_delcaration"
value="common_lines" />
<setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_if" value="16" />
<setting id="org.eclipse.jdt.core.formatter.indent_empty_lines" value="false" />
<setting id="org.eclipse.jdt.core.formatter.alignment_for_type_arguments" value="16" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_unary_operator"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation"
value="16" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line"
value="true" />
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch"
value="true" />
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator"
value="insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk" value="1" />
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_label"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header"
value="true" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional"
value="insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_member_type" value="1" />
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression"
value="16" />
<setting
id="org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases" value="true" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments" value="true" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow"
value="insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line" value="false" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration"
value="16" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws"
value="insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_body"
value="true" />
<setting id="org.eclipse.jdt.core.formatter.alignment_for_multiple_fields" value="16" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_array_initializer"
value="end_of_line" />
<setting id="org.eclipse.jdt.core.formatter.wrap_before_binary_operator" value="true" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch"
value="do not insert" />
<setting id="org.eclipse.jdt.core.compiler.compliance" value="1.8" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation"
value="insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_lambda_declaration"
value="common_lines" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration"
value="insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested"
value="true" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_constant"
value="end_of_line" />
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration"
value="end_of_line" />
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_package" value="1" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for"
value="insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_for_loop_header"
value="16" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters"
value="do not insert" />
<setting
id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header"
value="true" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow"
value="insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration"
value="insert" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.join_lines_in_comments" value="false" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional"
value="insert" />
<setting id="org.eclipse.jdt.core.formatter.comment.indent_parameter_description"
value="false" />
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="space" />
<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_import_groups" value="1" />
<setting id="org.eclipse.jdt.core.formatter.lineSplit" value="120" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation"
value="do not insert" />
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch"
value="insert" />
</profile>
</profiles>
\ No newline at end of file
... ...
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
#org.gradle.jvmargs=-Xmx2048m
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
# AndroidX package structure to make it clearer which packages are bundled with the
# Android operating system, and which are packaged with your app's APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true
android.enableResourceOptimizations=false
#建议您关闭 R8 后再进行混淆
android.enableR8=false
android.enableR8.libraries=false
# 如果使用最新稳定版本 Android Studio 3.5 或以上,那么您需要在 gradle.properties 里面新增
android.buildOnlyTargetAbi=false
#网络请求接口版本 202204151851
requestVersion=107
#设置组件是否作为app还是lib,true是lib ,false 是app
#分享
isShareModule=true
#播放器
isPlayerModule=true
#是否直播模块运行 false可以单独运行
isLiveModule=true
org.gradle.daemon=true
org.gradle.parallel=true
org.gradle.configureondemand=true
org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
# Enables namespacing of each library's R class so that its R class includes only the
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
#android.nonTransitiveRClass=true
... ...
No preview for this file type
#Fri Oct 23 14:37:25 CST 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-6.8-all.zip
... ...
#!/usr/bin/env sh
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
cd "$SAVED" >/dev/null
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
warn () {
echo "$*"
}
die () {
echo
echo "$*"
echo
exit 1
}
# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
nonstop=false
case "`uname`" in
CYGWIN* )
cygwin=true
;;
Darwin* )
darwin=true
;;
MINGW* )
msys=true
;;
NONSTOP* )
nonstop=true
;;
esac
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD="java"
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
MAX_FD="$MAX_FD_LIMIT"
fi
ulimit -n $MAX_FD
if [ $? -ne 0 ] ; then
warn "Could not set maximum file descriptor limit: $MAX_FD"
fi
else
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
fi
fi
# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi
# For Cygwin, switch paths to Windows format before running java
if $cygwin ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
JAVACMD=`cygpath --unix "$JAVACMD"`
# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
SEP=""
for dir in $ROOTDIRSRAW ; do
ROOTDIRS="$ROOTDIRS$SEP$dir"
SEP="|"
done
OURCYGPATTERN="(^($ROOTDIRS))"
# Add a user-defined pattern to the cygpath arguments
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
fi
# Now convert the arguments - kludge to limit ourselves to /bin/sh
i=0
for arg in "$@" ; do
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
else
eval `echo args$i`="\"$arg\""
fi
i=$((i+1))
done
case $i in
(0) set -- ;;
(1) set -- "$args0" ;;
(2) set -- "$args0" "$args1" ;;
(3) set -- "$args0" "$args1" "$args2" ;;
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
esac
fi
# Escape application args
save () {
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
echo " "
}
APP_ARGS=$(save "$@")
# Collect all arguments for the java command, following the shell quoting and substitution rules
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
cd "$(dirname "$0")"
fi
exec "$JAVACMD" "$@"
... ...
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto init
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto init
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:init
@rem Get command-line arguments, handling Windows variants
if not "%OS%" == "Windows_NT" goto win9xME_args
:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2
:win9xME_args_slurp
if "x%~1" == "x" goto execute
set CMD_LINE_ARGS=%*
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
:mainEnd
if "%OS%"=="Windows_NT" endlocal
:omega
... ...
rootProject.name = "wdbean"
include ':app'
include ':wdbean'
\ No newline at end of file
... ...
/build
\ No newline at end of file
... ...
plugins {
id 'com.android.library'
id 'kotlin-android'
id 'maven'
}
android {
compileSdkVersion var.compileSdkVersion
defaultConfig {
minSdkVersion var.minSdkVersion
targetSdkVersion var.targetSdkVersion
versionCode var.versionCode
versionName var.versionName
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
buildConfigField "String", "API_VERSION", "\"${requestVersion}\""
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
// 自定义AAR包名
android.libraryVariants.all { variant ->
variant.outputs.all {
if (outputFileName != null && outputFileName.endsWith(".aar")) {
def fileName = "${project.name}-${buildType.name}-v${var.aar_version}.aar"
outputFileName = fileName
}
}
}
}
dependencies {
implementation 'com.alibaba:fastjson:1.2.62'
implementation 'androidx.annotation:annotation:1.1.0'
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: "https://packages.aliyun.com/6708d221eef79c23d7b02189/maven/repo-higom/") {
authentication(userName: '6708d1cf6f4c940bd257c88d', password: 'Wm51gc4rARyr')
}
pom.project {
artifactId 'wdbean'
version '1.0.0'
groupId 'com.wd'
packaging 'aar'
}
}
}
}
\ No newline at end of file
... ...
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
\ No newline at end of file
... ...
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.wd.foundation.bean">
</manifest>
\ No newline at end of file
... ...
package com.wd.foundation.bean;
import java.util.List;
import android.text.TextUtils;
import com.wd.foundation.bean.base.BaseBean;
import com.wd.foundation.bean.mail.VideoInfo;
public class AlbumListBean extends BaseBean {
private int pageNum;
private int pageSize;
private int totalCount;
private long serialsId;//合集id
private String serialsName;//合集名称
private String hasNext;//是否有下一页:0否1是
private List<AlbumBean> list;
public int getPageNum() {
return pageNum;
}
public void setPageNum(int pageNum) {
this.pageNum = pageNum;
}
public int getPageSize() {
return pageSize;
}
public void setPageSize(int pageSize) {
this.pageSize = pageSize;
}
public int getTotalCount() {
return totalCount;
}
public void setTotalCount(int totalCount) {
this.totalCount = totalCount;
}
public String getHasNext() {
return hasNext;
}
public void setHasNext(String hasNext) {
this.hasNext = hasNext;
}
public List<AlbumBean> getList() {
return list;
}
public void setList(List<AlbumBean> list) {
this.list = list;
}
public long getSerialsId() {
return serialsId;
}
public void setSerialsId(long serialsId) {
this.serialsId = serialsId;
}
public String getSerialsName() {
return TextUtils.isEmpty(serialsName) ? "" : serialsName;
}
public void setSerialsName(String serialsName) {
this.serialsName = serialsName;
}
public static class AlbumBean extends BaseBean {
private String objectId;//内容id
private String objectType;//0:不跳转 1:视频,2:直播,5:专题,6:链接,8:图文,9:组图,10:H5新闻,11:频道
private String newsTitle;//标题
private String newsSummary;//简介
private int appStyle;//App样式 1:小图卡,2:大图卡,3:无图卡,4:三图卡,5:头图卡,6:小视频卡,7:作者卡,8:财经快讯卡,9:时间轴卡,10:大专题卡
private int currentPoliticsFlag;//是否时政新闻 1是 0否
private String publishTime;//发布时间
private List<CoverImgUrl> fullColumnImgUrls;//稿件封面图地址
private VideoInfo videoInfo;
private boolean isChecked;
public String getObjectId() {
return objectId;
}
public void setObjectId(String objectId) {
this.objectId = objectId;
}
public String getObjectType() {
return objectType;
}
public void setObjectType(String objectType) {
this.objectType = objectType;
}
public String getNewsTitle() {
return newsTitle;
}
public void setNewsTitle(String newsTitle) {
this.newsTitle = newsTitle;
}
public String getNewsSummary() {
return newsSummary;
}
public void setNewsSummary(String newsSummary) {
this.newsSummary = newsSummary;
}
public int getAppStyle() {
return appStyle;
}
public void setAppStyle(int appStyle) {
this.appStyle = appStyle;
}
public int getCurrentPoliticsFlag() {
return currentPoliticsFlag;
}
public void setCurrentPoliticsFlag(int currentPoliticsFlag) {
this.currentPoliticsFlag = currentPoliticsFlag;
}
public String getPublishTime() {
return publishTime;
}
public void setPublishTime(String publishTime) {
this.publishTime = publishTime;
}
public List<CoverImgUrl> getFullColumnImgUrls() {
return fullColumnImgUrls;
}
public void setFullColumnImgUrls(List<CoverImgUrl> fullColumnImgUrls) {
this.fullColumnImgUrls = fullColumnImgUrls;
}
public VideoInfo getVideoInfo() {
return videoInfo;
}
public void setVideoInfo(VideoInfo videoInfo) {
this.videoInfo = videoInfo;
}
public boolean isChecked() {
return isChecked;
}
public void setChecked(boolean checked) {
isChecked = checked;
}
}
public static class CoverImgUrl{
private int format;
private int height;
private int landscape;
private int size;
private String url;
private int weight;
public int getFormat() {
return format;
}
public void setFormat(int format) {
this.format = format;
}
public int getHeight() {
return height;
}
public void setHeight(int height) {
this.height = height;
}
public int getLandscape() {
return landscape;
}
public void setLandscape(int landscape) {
this.landscape = landscape;
}
public int getSize() {
return size;
}
public void setSize(int size) {
this.size = size;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public int getWeight() {
return weight;
}
public void setWeight(int weight) {
this.weight = weight;
}
}
}
... ...
package com.wd.foundation.bean;
import java.io.Serializable;
public class ChoosePublishTime implements Serializable {
public int month;
public int day;
/**
* 文案
* */
public String text;
}
... ...
package com.wd.foundation.bean;
import com.wd.foundation.bean.base.BaseBean;
/**
* Author LiuKun
* date:2023/3/22
* desc:根据楼层Id获取组件节目信息参数
*/
public class CompParameterBean extends BaseBean {
// 首次加载
public final static String FIRST_LOAD = "first_load";
// 上推刷新
public final static String PUSH_UP = "push_up";
// 下拉刷新
public final static String PULL_DOWN = "pull_down";
//页码id
public String pageId;
//楼层id
public String groupId;
//页码
public int pageNum = 1;
// 第一页刷新时间
public long refreshTime;
//页码数
public int pageSize = 20;
/**
* 首次加载:loadStrategy= first_load
* l 上推刷新:loadStrategy= push_up
* l 下拉刷新:loadStrategy= pull_down
*/
public String loadStrategy;
//频道id 非必须
public String channelId;
//频道策略 非必须
public String channelStrategy;
//专题id 非必须
public String topicId;
//设置刷新时间
public void setRefreshTime(long serverTime) {
// 使用本地缓存数据,造成无法获取到服务器时间,因此手机手机日期
if (serverTime == 0) {
serverTime = System.currentTimeMillis();
}
if (pageNum == 1 && (CompParameterBean.FIRST_LOAD.equals(loadStrategy) || CompParameterBean.PULL_DOWN.equals(loadStrategy))) {
refreshTime = serverTime;
}
}
}
... ...
package com.wd.foundation.bean;
import java.util.List;
import com.wd.foundation.bean.base.BaseBean;
/**
* 图片预览bean
*
* @author baozhaoxin
* @version [V1.0.0, 2023/5/5]
* @since V1.0.0
*/
public class ImageSlideBean extends BaseBean {
/**
* 图片集合开始下标
*/
private int imgIndex;
private List<ImgArrBean> imgArr;
public int getImgIndex() {
return imgIndex;
}
public void setImgIndex(int imgIndex) {
this.imgIndex = imgIndex;
}
public List<ImgArrBean> getImgArr() {
return imgArr;
}
public void setImgArr(List<ImgArrBean> imgArr) {
this.imgArr = imgArr;
}
@Override
public String toString() {
return "ImageSlideBean{" + "imgIndex=" + imgIndex + ", imgArr=" + imgArr + '}';
}
public static class ImgArrBean extends BaseBean {
/**
* 图片地址
*/
private String pic;
/**
* 宽
*/
private String width;
/**
* 高
*/
private String height;
public String getPic() {
return pic;
}
public void setPic(String pic) {
this.pic = pic;
}
public String getWidth() {
return width;
}
public void setWidth(String width) {
this.width = width;
}
public String getHeight() {
return height;
}
public void setHeight(String height) {
this.height = height;
}
@Override
public String toString() {
return "ImgArrBean{" + "pic='" + pic + '\'' + ", width='" + width + '\'' + ", height='" + height + '\''
+ '}';
}
}
}
... ...
package com.wd.foundation.bean;
public class JsAppInnerLinkBean {
private String appInnerLink;
public String getAppInnerLink() {
return appInnerLink;
}
public void setAppInnerLink(String appInnerLink) {
this.appInnerLink = appInnerLink;
}
}
... ...
package com.wd.foundation.bean;
import org.json.JSONObject;
public class JsCallAppBean {
private JSONObject jsonObject;
private String callbackId;
public String getCallbackId() {
return callbackId;
}
public void setCallbackId(String callbackId) {
this.callbackId = callbackId;
}
public JSONObject getJsonObject() {
return jsonObject;
}
public void setJsonObject(JSONObject jsonObject) {
this.jsonObject = jsonObject;
}
}
... ...
package com.wd.foundation.bean;
import com.wd.foundation.bean.base.BaseBean;
/**
* js:App弹通用提示bean
*
* @author baozhaoxin
* @version [V1.0.0, 2023/4/19]
* @since V1.0.0
*/
public class JsGeneralTipsBean extends BaseBean {
/**
* 1、Toast提示 2、Alert提示
*/
private String tipStyle;
/**
* 提示字符串
*/
private String tipString;
public String getTipStyle() {
return tipStyle;
}
public void setTipStyle(String tipStyle) {
this.tipStyle = tipStyle;
}
public String getTipString() {
return tipString;
}
public void setTipString(String tipString) {
this.tipString = tipString;
}
}
... ...
package com.wd.foundation.bean;
public class JsImageBean {
private int type;
private String content;
public int getType() {
return type;
}
public void setType(int type) {
this.type = type;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
}
... ...
package com.wd.foundation.bean;
public class JsScrollBean {
String openH5ScrollEvent;// 是否开启H5滚动事件,1开启,0关闭
String scrollingDirection;// 1 向下,2向上
public String getOpenH5ScrollEvent() {
return openH5ScrollEvent;
}
public void setOpenH5ScrollEvent(String openH5ScrollEvent) {
this.openH5ScrollEvent = openH5ScrollEvent;
}
public String getScrollingDirection() {
return scrollingDirection;
}
public void setScrollingDirection(String scrollingDirection) {
this.scrollingDirection = scrollingDirection;
}
}
... ...
package com.wd.foundation.bean;
import com.wd.foundation.bean.custom.share.ShareBean;
import java.io.Serializable;
public class JsShareBean implements Serializable {
/**
* 分享类型:1.文字类型分享 2.网页类型分享
*/
private int type;
/**
* 是否显示分享:1 显示分享按钮 0 不显示
*/
private int isShowShare;
/**
* 分享文本(当type为1时 传入需要分享的文本内容 )
*/
private String text;
/**
* 分享标题(当type为2时可用)
*/
private String title;
/**
* 分享描述(当type为2时可用 )
*/
private String description;
/**
* 分享链接(当type为2时可用 )
*/
private String webpageUrl;
/**
* 分享图标链接(当type为2时可用,分享小icon需小于64k)
*/
private String imageUrl;
/**
* 分享的内容Id:活动ID、视频ID等
*/
private String contentId;
/**
* 1.facebook 2.twitter 3.微信 4.微信朋友圈 5.微博 6.系统分享 7. 弹框App全分享 8.海报分享
*/
private String sharePlatform;
/**
* 分享完成结果回调js 方法名称,例如:appShareResult
*/
private String tapShareEventCallbackName;
/**
* 分享数据
*/
private ShareBean shareInfo;
/**
* 海报图 base64 data数据 (当sharePlatform == 7 或 8时 传 )
*/
private String posterImageData;
/**
* 分享埋点参数
*/
private ShareTrackParameters shareTrackParameters;
public int getType() {
return type;
}
public void setType(int type) {
this.type = type;
}
public int getIsShowShare() {
return isShowShare;
}
public void setIsShowShare(int isShowShare) {
this.isShowShare = isShowShare;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getWebpageUrl() {
return webpageUrl;
}
public void setWebpageUrl(String webpageUrl) {
this.webpageUrl = webpageUrl;
}
public String getImageUrl() {
return imageUrl;
}
public void setImageUrl(String imageUrl) {
this.imageUrl = imageUrl;
}
public String getContentId() {
return contentId;
}
public void setContentId(String contentId) {
this.contentId = contentId;
}
public String getSharePlatform() {
return sharePlatform;
}
public void setSharePlatform(String sharePlatform) {
this.sharePlatform = sharePlatform;
}
public String getTapShareEventCallbackName() {
return tapShareEventCallbackName;
}
public void setTapShareEventCallbackName(String tapShareEventCallbackName) {
this.tapShareEventCallbackName = tapShareEventCallbackName;
}
public ShareBean getShareInfo() {
return shareInfo;
}
public void setShareInfo(ShareBean shareInfo) {
this.shareInfo = shareInfo;
}
public String getPosterImageData() {
return posterImageData;
}
public void setPosterImageData(String posterImageData) {
this.posterImageData = posterImageData;
}
public ShareTrackParameters getShareTrackParameters() {
return shareTrackParameters;
}
public void setShareTrackParameters(ShareTrackParameters shareTrackParameters) {
this.shareTrackParameters = shareTrackParameters;
}
}
... ...
package com.wd.foundation.bean;
import com.wd.foundation.bean.base.BaseBean;
/**
* 国内外信息bean
*
* @author baozhaoxin
* @version [V1.0.0, 2023/3/24]
* @since V1.0.0
*/
public class LocationBean extends BaseBean {
/**
* 当前区域
*/
private String location;
public String getLocation() {
return location;
}
public void setLocation(String location) {
this.location = location;
}
}
... ...
package com.wd.foundation.bean;
/**
* TODO 待删除
*
* @author yzm
* @date 2022/7/19
* @time 10:31.
*/
public class LoginDataChangeUtils {
// public static UserEntity loginDataParse(LoginUserData loginUserData) {
// UserEntity userEntity = new UserEntity();
// if (loginUserData != null) {
// userEntity.uid = loginUserData.getId();
// userEntity.phone = loginUserData.getPhone();
// userEntity.status = loginUserData.getStatus();
// userEntity.userType = loginUserData.getUserType();
// userEntity.certCode = loginUserData.getCertCode();
// userEntity.email = loginUserData.getEmail();
// userEntity.userName = loginUserData.getUserName();
// userEntity.source = loginUserData.getSource();
// userEntity.qq_binding = loginUserData.getQq_binding();
// userEntity.wechat_binding = loginUserData.getWechat_binding();
// userEntity.weibo_binding = loginUserData.getWeibo_binding();
// userEntity.facebook_binding = loginUserData.getFacebook_binding();
// userEntity.twitter_binding = loginUserData.getTwitter_binding();
// userEntity.google_binding = loginUserData.getGoogle_binding();
// userEntity.tenancy = loginUserData.getTenancy();
// userEntity.headPhotoStatus = loginUserData.getHeadPhotoStatus();
// userEntity.userNameStatus = loginUserData.getUserNameStatus();
// }
// if (loginUserData != null && loginUserData.getUserExtend() != null) {
// userEntity.address = loginUserData.getUserExtend().getAddress();
// userEntity.birthday = loginUserData.getUserExtend().getBirthday();
// userEntity.city = loginUserData.getUserExtend().getCity();
// userEntity.county = loginUserData.getUserExtend().getCounty();
// userEntity.creatorId = loginUserData.getUserExtend().getCreatorId();
// userEntity.deviceId = loginUserData.getUserExtend().getDeviceId();
// userEntity.headPhotoUrl = loginUserData.getUserExtend().getHeadPhotoUrl();
// userEntity.introduction = loginUserData.getUserExtend().getIntroduction();
// userEntity.lastLoginTime = loginUserData.getUserExtend().getLastLoginTime();
// userEntity.province = loginUserData.getUserExtend().getProvince();
// userEntity.sex = loginUserData.getUserExtend().getSex();
// userEntity.sign = loginUserData.getUserExtend().getSign();
// userEntity.user_agent = loginUserData.getUserExtend().getUser_agent();
// userEntity.os = loginUserData.getUserExtend().getOs();
// userEntity.region = loginUserData.getUserExtend().getRegion();
// }
// return userEntity;
// }
}
... ...
package com.wd.foundation.bean
interface MultiItemEntity {
val itemType: Int
}
\ No newline at end of file
... ...
package com.wd.foundation.bean;
import java.io.Serializable;
import java.util.List;
import com.wd.foundation.bean.response.NewsDetailBean;
/**
* @Author LiuKun
* @date:2023/5/24
* @desc:图文详情使用。新闻详情
*/
public class NewDataParent implements Serializable {
private String code;
private List<NewsDetailBean> data;
private String message;
private Object meta;
private String requestId;
private boolean success;
private long timestamp;
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public List<NewsDetailBean> getData() {
return data;
}
public void setData(List<NewsDetailBean> data) {
this.data = data;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public Object getMeta() {
return meta;
}
public void setMeta(Object meta) {
this.meta = meta;
}
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public boolean isSuccess() {
return success;
}
public void setSuccess(boolean success) {
this.success = success;
}
public long getTimestamp() {
return timestamp;
}
public void setTimestamp(long timestamp) {
this.timestamp = timestamp;
}
}
... ...
package com.wd.foundation.bean;
import java.io.Serializable;
/**
* @ProjectName: PeopleDailyEnglish
* @Package: com.people.entity
* @ClassName: NightModeBean
* @Description: 描述
* @Author: wd
* @CreateDate: 2023/3/16 11:17
* @UpdateUser: wd
* @UpdateDate: 2023/3/16 11:17
* @UpdateRemark: 更新说明:
* @Version: 1.0
*/
public class NightModeBean implements Serializable {
/**
* 用于展示文案
*/
public String nightmodeWord;
/**
* 用于系统设置
*/
public int nightMode;
/**
* 是否展示分割线
*/
public boolean showLine;
}
... ...
package com.wd.foundation.bean;
import java.util.List;
import com.wd.foundation.bean.base.BaseBean;
import com.wd.foundation.bean.custom.content.ContentBean;
/**
* 推荐列表bean
*
* @author baozhaoxin
* @version [V1.0.0, 2023/10/25]
* @since V1.0.0
*/
public class RecListBean extends BaseBean {
/**
* 同楼层接口的operDataList
*/
private List<ContentBean> list;
public List<ContentBean> getList() {
return list;
}
public void setList(List<ContentBean> list) {
this.list = list;
}
}
... ...
package com.wd.foundation.bean;
/**
* Time:2023/11/16
* Author:ypf
* Description:分享埋点参数
*/
public class ShareTrackParameters {
// 页面名称
private String pageName;
// 页面ID
private String pageId;
// 榜单名称
private String listName;
// 榜单类型
private String listType;
// 分享渠道
private String shareChannel;
public String getPageName() {
return pageName;
}
public void setPageName(String pageName) {
this.pageName = pageName;
}
public String getPageId() {
return pageId;
}
public void setPageId(String pageId) {
this.pageId = pageId;
}
public String getListName() {
return listName;
}
public void setListName(String listName) {
this.listName = listName;
}
public String getListType() {
return listType;
}
public void setListType(String listType) {
this.listType = listType;
}
public String getShareChannel() {
return shareChannel;
}
public void setShareChannel(String shareChannel) {
this.shareChannel = shareChannel;
}
}
... ...
package com.wd.foundation.bean;
import com.wd.foundation.bean.base.BaseBean;
public class TimeNumberBean extends BaseBean {
private String stringMonth;
private String stringDay;
private String stringHour;
private String stringMin;
private String stringSecond;
// 2023年5月18日09:23
public TimeNumberBean(String s) {
int yearIndex = s.indexOf("年");
int monthIndex = s.indexOf("月");
int dayIndex = s.indexOf("日");
int colonIndex = s.indexOf(":");
this.stringMonth = s.substring(yearIndex + 1, monthIndex);
this.stringDay = s.substring(monthIndex + 1, dayIndex);
this.stringHour = s.substring(dayIndex + 1, colonIndex);
this.stringMin = s.substring(colonIndex + 1, s.length());
this.stringSecond = "00";
}
public TimeNumberBean(String stringHour, String stringMin, String stringSecond) {
this.stringHour = stringHour;
this.stringMin = stringMin;
this.stringSecond = stringSecond;
}
public String getStringHour() {
return stringHour;
}
public void setStringHour(String stringHour) {
this.stringHour = stringHour;
}
public String getStringMin() {
return stringMin;
}
public void setStringMin(String stringMin) {
this.stringMin = stringMin;
}
public String getStringSecond() {
return stringSecond;
}
public void setStringSecond(String stringSecond) {
this.stringSecond = stringSecond;
}
public String getStringMonth() {
return stringMonth;
}
public void setStringMonth(String stringMonth) {
this.stringMonth = stringMonth;
}
public String getStringDay() {
return stringDay;
}
public void setStringDay(String stringDay) {
this.stringDay = stringDay;
}
@Override
public String toString() {
return "TimeNumberBean{" + "stringMonth='" + stringMonth + '\'' + ", stringDay='" + stringDay + '\''
+ ", stringHour='" + stringHour + '\'' + ", stringMin='" + stringMin + '\'' + ", stringSecond='"
+ stringSecond + '\'' + '}';
}
}
... ...
package com.wd.foundation.bean.adv;
import android.text.TextUtils;
import com.wd.foundation.bean.base.BaseBean;
/**
* 广告信息
*
* @author liyubing
* @version [V1.0.0, 2022/8/8]
* @since V1.0.0
*/
public class AdvertsBean extends BaseBean {
/**
* 广告id
*/
private String id;
/**
* 广告relId
*/
private String relId;
/**
* 广告素材名称
*/
private String matTitle;
/**
* 投放开始时间yyyy-MM-dd HH:mm:ss
*/
private String startTime;
/**
* 投放结束时间yyyy-MM-dd HH:mm:ss
*/
private String endTime;
/**
* 展现时段,多组数据:9:00:00-10:00:00|17:00:00-18:00:00
*/
private String displayTime;
/**
* 展现优先级,数值越小,等级越高
*/
private String displayLevel;
/**
* 链接跳转类型,0:无连接;1:内链(站内内容);2:外链
*/
private int linkType;
/**
* 外链广告外链地址,link_type=2生效
*/
private String linkUrl;
/**
* 单用户仅曝光一次,0:否;1:是
*/
private int showOnce;
/**
* 内链内容id 仅link_type=1生效
*/
private String contentId;
/**
* 节目类型:1:点播2直播3活动4信息流广告5专题
*/
private int contentType;
/**
* 内容标题
*/
private String contentTitle;
/**
* 专题页面id
*/
private String topicPageId;
/**
* 横版封面地址
*/
private String coverAddrH;
/**
* 竖版封面地址
*/
private String coverAddrV;
/**
* 挂角封面图
*/
private String displayUrl;
/**
* 桶信息
*/
private String bucket;
/**
* 允许跳过,0:不允许,1:允许
*/
private String ignore;
/**
* 显示时长,单位:秒 (启动页广告)
*/
private String displayDuration;
/**
* 类型 1:图片.2:视频 (启动页广告)
*/
private String type;
/**
* type=2时使用,视频文件地址 (启动页广告)
*/
private String openUrl;
/**
* 显示样式(1:底部固定logo,2:全屏样式)
*/
public String displayStyle;
/**
* pageId
*/
private String pageId;
/**
* 跳转id
*/
private String objectId;
/**
* 对象类型 0:不跳转 1:视频,2:直播,5:专题,6:链接,8:图文,9:组图,10:H5新闻,11:频道
*/
private String objectType;
/**
* 对象分类 ;频道(1:一级频道,2:二级频道),专题(1:普通专题,2:主题专题,3:作者专题)
*/
private String objectLevel;
/**
* 底部导航栏 id(用于频道跳转)
*/
private String bottomNavId;
/**
* 专题模板 --->专题样式 1:常规, 2:作者, 3:时间线
*/
private String topicTemplate;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getRelId() {
return relId;
}
public void setRelId(String relId) {
this.relId = relId;
}
public String getMatTitle() {
return matTitle;
}
public void setMatTitle(String matTitle) {
this.matTitle = matTitle;
}
public String getStartTime() {
return startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime;
}
public String getEndTime() {
return endTime;
}
public void setEndTime(String endTime) {
this.endTime = endTime;
}
public String getDisplayTime() {
return displayTime;
}
public void setDisplayTime(String displayTime) {
this.displayTime = displayTime;
}
public String getDisplayLevel() {
return displayLevel;
}
public int getDisplayLevelInt() {
if (TextUtils.isEmpty(displayLevel)) {
return 0;
}
int a = Integer.parseInt(displayLevel);
return a;
}
public void setDisplayLevel(String displayLevel) {
this.displayLevel = displayLevel;
}
public int getLinkType() {
return linkType;
}
public void setLinkType(int linkType) {
this.linkType = linkType;
}
public String getLinkUrl() {
return linkUrl;
}
public void setLinkUrl(String linkUrl) {
this.linkUrl = linkUrl;
}
public int getShowOnce() {
return showOnce;
}
public void setShowOnce(int showOnce) {
this.showOnce = showOnce;
}
public String getContentId() {
return contentId;
}
public void setContentId(String contentId) {
this.contentId = contentId;
}
public int getContentType() {
return contentType;
}
public void setContentType(int contentType) {
this.contentType = contentType;
}
public String getContentTitle() {
return contentTitle;
}
public void setContentTitle(String contentTitle) {
this.contentTitle = contentTitle;
}
public String getTopicPageId() {
return topicPageId;
}
public void setTopicPageId(String topicPageId) {
this.topicPageId = topicPageId;
}
public String getCoverAddrH() {
return coverAddrH;
}
public void setCoverAddrH(String coverAddrH) {
this.coverAddrH = coverAddrH;
}
public String getCoverAddrV() {
return coverAddrV;
}
public void setCoverAddrV(String coverAddrV) {
this.coverAddrV = coverAddrV;
}
public String getBucket() {
return bucket;
}
public void setBucket(String bucket) {
this.bucket = bucket;
}
public String getIgnore() {
return ignore;
}
public void setIgnore(String ignore) {
this.ignore = ignore;
}
public String getDisplayDuration() {
return displayDuration;
}
public void setDisplayDuration(String displayDuration) {
this.displayDuration = displayDuration;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getOpenUrl() {
return openUrl;
}
public void setOpenUrl(String openUrl) {
this.openUrl = openUrl;
}
public String getPageId() {
return pageId;
}
public void setPageId(String pageId) {
this.pageId = pageId;
}
public String getObjectId() {
return objectId;
}
public void setObjectId(String objectId) {
this.objectId = objectId;
}
public String getObjectType() {
return objectType;
}
public void setObjectType(String objectType) {
this.objectType = objectType;
}
public String getObjectLevel() {
return objectLevel;
}
public void setObjectLevel(String objectLevel) {
this.objectLevel = objectLevel;
}
public String getDisplayStyle() {
return displayStyle;
}
public void setDisplayStyle(String displayStyle) {
this.displayStyle = displayStyle;
}
public String getBottomNavId() {
return bottomNavId;
}
public void setBottomNavId(String bottomNavId) {
this.bottomNavId = bottomNavId;
}
public String getDisplayUrl() {
return displayUrl;
}
public void setDisplayUrl(String displayUrl) {
this.displayUrl = displayUrl;
}
public String getTopicTemplate() {
return topicTemplate;
}
public void setTopicTemplate(String topicTemplate) {
this.topicTemplate = topicTemplate;
}
@Override
public String toString() {
return "AdvertsBean{" + "id='" + id + '\'' + ", matTitle='" + matTitle + '\'' + ", startTime='" + startTime
+ '\'' + ", endTime='" + endTime + '\'' + ", displayTime='" + displayTime + '\'' + ", displayLevel='"
+ displayLevel + '\'' + ", linkType=" + linkType + ", linkUrl='" + linkUrl + '\'' + ", showOnce=" + showOnce
+ ", contentId='" + contentId + '\'' + ", contentType=" + contentType + ", contentTitle='" + contentTitle
+ '\'' + ", topicPageId='" + topicPageId + '\'' + ", coverAddrH='" + coverAddrH + '\'' + ", coverAddrV='"
+ coverAddrV + '\'' + ", displayUrl='" + displayUrl + '\'' + ", bucket='" + bucket + '\'' + ", ignore='"
+ ignore + '\'' + ", displayDuration='" + displayDuration + '\'' + ", type='" + type + '\'' + ", openUrl='"
+ openUrl + '\'' + ", displayStyle='" + displayStyle + '\'' + ", pageId='" + pageId + '\'' + ", objectId='"
+ objectId + '\'' + ", objectType='" + objectType + '\'' + ", objectLevel='" + objectLevel + '\''
+ ", bottomNavId='" + bottomNavId + '\'' + ", topicTemplate='" + topicTemplate + '\'' + '}';
}
}
... ...
package com.wd.foundation.bean.adv;
import com.wd.foundation.bean.base.BaseBean;
/**
* 广告规则
*
* @author liyubing
* @version [V1.0.0, 2022/8/8]
* @since V1.0.0
*/
public class AdvsRuleBean extends BaseBean {
/**
* 广告投放位编码
*/
private String pos;
/**
* 广告展示顺序,0:随机展示;1列表循环
*/
private int displayMode;
/**
* 每间隔刷新n次展示广告 (SpUtils记录用户操作次数,比如 refreshFrequency = 3,记录的值%3 =0 满足)
*/
private int refreshFrequency;
/**
* 广告信息集合
*/
private AdvertsBean advert;
public String getPos() {
return pos;
}
public void setPos(String pos) {
this.pos = pos;
}
public int getDisplayMode() {
return displayMode;
}
public void setDisplayMode(int displayMode) {
this.displayMode = displayMode;
}
public int getRefreshFrequency() {
return refreshFrequency;
}
public void setRefreshFrequency(int refreshFrequency) {
this.refreshFrequency = refreshFrequency;
}
public AdvertsBean getAdvert() {
return advert;
}
public void setAdvert(AdvertsBean advert) {
this.advert = advert;
}
}
... ...
package com.wd.foundation.bean.adv;
import java.util.List;
import com.wd.foundation.bean.base.BaseBean;
/**
* 组件广告
*
* @author liyubing
* @version [V1.0.0, 2022/8/8]
* @since V1.0.0
*/
public class CompAdBean extends BaseBean {
/**
* 组件id
*/
private String compId;
/**
* 组件类型
*/
private String compType;
/**
* 页面Id
*/
private String pageId ;
/**
* 普通组件位广告
*/
private List<AdvsRuleBean> normalAdvs;
/**
* 挂角广告数据
*/
private List<AdvsRuleBean> cornersAdvs;
public String getCompId() {
return compId;
}
public void setCompId(String compId) {
this.compId = compId;
}
public String getCompType() {
return compType;
}
public void setCompType(String compType) {
this.compType = compType;
}
public List<AdvsRuleBean> getNormalAdvs() {
return normalAdvs;
}
public void setNormalAdvs(List<AdvsRuleBean> normalAdvs) {
this.normalAdvs = normalAdvs;
}
public String getPageId() {
return pageId;
}
public void setPageId(String pageId) {
this.pageId = pageId;
}
public List<AdvsRuleBean> getCornersAdvs() {
return cornersAdvs;
}
public void setCornersAdvs(List<AdvsRuleBean> cornersAdvs) {
this.cornersAdvs = cornersAdvs;
}
}
... ...
package com.wd.foundation.bean.adv;
import com.wd.foundation.bean.base.BaseBean;
/**
* @Description: 广告组件数据
* @Author: Li Yubing
* @Email: liyubing@wondert.com.cn
* @CreateDate: 2023/10/26 13:49
* @Version: 1.0
*/
public class CompAdvBean extends BaseBean {
private int id;// 广告订单id
private long startTime;// 投放开始时间
private long endTime;// 投放结束时间
private CompAdvMatInfoBean matInfo;// 信息流广告素材
private CompAdvSlotInfoBean slotInfo;// 信息流广告位
/**
* 展示优先级
* 广告A,displayPriority=1
* 广告B,displayPriority=2
* 则打开页面时,挂角展示顺序 A->B (优先级升序排列)
*/
private int displayPriority;
/**
* 展示的次数
*/
private int showCount = -1;
/**
* 页面id
*/
private String pageId;
/**
* 开屏广告-显示时长
*/
private String displayDuration;
/**
* 开屏广告-展示轮数
* 2.launchAdInfo有多个时:
* 广告A,displayRound=10
* 广告B,displayRound=5,
* 每次开机屏展示广告概率
* 广告A=10/(10+5)
* 广告B=5/(10+5)
* 广告A展示10次后,不再展示,
* 广告B展示5此后,不再展示。
* 下一轮展示继续上面逻辑。
*/
private int displayRound;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public long getStartTime() {
return startTime;
}
public void setStartTime(long startTime) {
this.startTime = startTime;
}
public long getEndTime() {
return endTime;
}
public void setEndTime(long endTime) {
this.endTime = endTime;
}
public CompAdvMatInfoBean getMatInfo() {
return matInfo;
}
public void setMatInfo(CompAdvMatInfoBean matInfo) {
this.matInfo = matInfo;
}
public CompAdvSlotInfoBean getSlotInfo() {
return slotInfo;
}
public void setSlotInfo(CompAdvSlotInfoBean slotInfo) {
this.slotInfo = slotInfo;
}
public int getDisplayPriority() {
return displayPriority;
}
public void setDisplayPriority(int displayPriority) {
this.displayPriority = displayPriority;
}
public int getShowCount() {
return showCount;
}
public void setShowCount(int showCount) {
this.showCount = showCount;
}
public String getPageId() {
return pageId;
}
public void setPageId(String pageId) {
this.pageId = pageId;
}
public String getDisplayDuration() {
return displayDuration;
}
public void setDisplayDuration(String displayDuration) {
this.displayDuration = displayDuration;
}
public int getDisplayRound() {
return displayRound;
}
public void setDisplayRound(int displayRound) {
this.displayRound = displayRound;
}
}
... ...
package com.wd.foundation.bean.adv;
import java.util.List;
import com.wd.foundation.bean.base.BaseBean;
/**
* @Description: 广告扩展解析类
* @Author: Li Yubing
* @Email: liyubing@wondert.com.cn
* @CreateDate: 2023/10/26 14:40
* @Version: 1.0
*/
public class CompAdvExtraDataBean extends BaseBean {
public String itemTopImage;
public List<ItemBean> item;
public ItemBean itemMore;
public static class ItemBean {
public String image;
public String title;
public String linkUrl;
public String linkType;
}
}
... ...
package com.wd.foundation.bean.adv;
import java.util.List;
import com.wd.foundation.bean.base.BaseBean;
/**
* @Description: 信息流广告素材
* @Author: Li Yubing
* @Email: liyubing@wondert.com.cn
* @CreateDate: 2023/10/26 14:04
* @Version: 1.0
*/
public class CompAdvMatInfoBean extends BaseBean {
/**
* 广告标题
*/
private String advTitle;
/**
* 3:信息流广告
*/
private String advType;
/**
* 信息流广告类型(4:轮播图 5:三图广告 6:小图广告 7:长通栏广告 8:大图广告 9:视频广告 10:展会广告 11:冠名广告 12:顶部长通栏广告)
*/
private int advSubType;
/**
* 素材图片信息;adv_subtype=4,5,6,7,8,9,12 时使用
*/
private List<String> matImageUrl;
/**
* 视频广告地址(adv_subtype=9)
*/
private String matVideoUrl;
/**
* 扩展信息:advSubType=10,11时使用,字段示例见接口备注。
*/
private String extraData;
/**
* 链接跳转类型 0:无链接;1:内链(文章);2:外链
*/
private String linkType;
/**
* 广告跳转链接
*/
private String linkUrl;
/**
* 素材类型(0:图片 1:视频)
*/
private String matType;
/**
* 开屏样式(1:全屏样式 0:底部固定Logo)
*/
private String startStyle;
public String getAdvTitle() {
return advTitle;
}
public void setAdvTitle(String advTitle) {
this.advTitle = advTitle;
}
public String getAdvType() {
return advType;
}
public void setAdvType(String advType) {
this.advType = advType;
}
public int getAdvSubType() {
return advSubType;
}
public void setAdvSubType(int advSubType) {
this.advSubType = advSubType;
}
public List<String> getMatImageUrl() {
return matImageUrl;
}
public void setMatImageUrl(List<String> matImageUrl) {
this.matImageUrl = matImageUrl;
}
public String getMatVideoUrl() {
return matVideoUrl;
}
public void setMatVideoUrl(String matVideoUrl) {
this.matVideoUrl = matVideoUrl;
}
public String getExtraData() {
return extraData;
}
public void setExtraData(String extraData) {
this.extraData = extraData;
}
public String getLinkType() {
return linkType;
}
public void setLinkType(String linkType) {
this.linkType = linkType;
}
public String getLinkUrl() {
return linkUrl;
}
public void setLinkUrl(String linkUrl) {
this.linkUrl = linkUrl;
}
public String getMatType() {
return matType;
}
public void setMatType(String matType) {
this.matType = matType;
}
public String getStartStyle() {
return startStyle;
}
public void setStartStyle(String startStyle) {
this.startStyle = startStyle;
}
}
... ...
package com.wd.foundation.bean.adv;
import com.wd.foundation.bean.base.BaseBean;
/**
* @Description: 信息流广告位
* @Author: Li Yubing
* @Email: liyubing@wondert.com.cn
* @CreateDate: 2023/10/26 14:05
* @Version: 1.0
*/
public class CompAdvSlotInfoBean extends BaseBean {
/**
* 组件id
*/
private String compId;
/**
* 广告位位置 从1开始
*/
private int position;
/**
* 频道id
*/
private String channelId;
public String getCompId() {
return compId;
}
public void setCompId(String compId) {
this.compId = compId;
}
public int getPosition() {
return position;
}
public void setPosition(int position) {
this.position = position;
}
public String getChannelId() {
return channelId;
}
public void setChannelId(String channelId) {
this.channelId = channelId;
}
}
... ...
package com.wd.foundation.bean.adv;
import com.wd.foundation.bean.base.BaseBean;
/**
* @Description: 广告bean
* @Author: baozhaoxin
* @CreateDate: 2022/9/9 9:10
*/
public class RecordNormalAdvBean extends BaseBean {
/**
* 记录该信息栏目展示的广告id
*/
private String advId;
/**
* 记录的时间戳
*/
private long recordTimeLong;
/**
* 当前循环展示的次数
*/
private int showCount;
public String getAdvId() {
return advId;
}
public void setAdvId(String advId) {
this.advId = advId;
}
public long getRecordTimeLong() {
return recordTimeLong;
}
public void setRecordTimeLong(long recordTimeLong) {
this.recordTimeLong = recordTimeLong;
}
public int getShowCount() {
return showCount;
}
public void setShowCount(int showCount) {
this.showCount = showCount;
}
}
... ...
package com.wd.foundation.bean.analytics;
/**
* 埋点-item_type对应类型
*
* @author baozhaoxin
* @version [V1.0.0, 2022/11/8]
*/
public class ItemTypeConstant {
/**
* 视频
*/
public static final String ITEM_TYPE_VIDEO = "video";
/**
* 组图
*/
public static final String ITEM_TYPE_IMAGE = "image";
/**
* H5新闻
*/
public static final String ITEM_TYPE_ITEM = "item";
/**
* 图文
*/
public static final String ITEM_TYPE_ARTICLE = "article";
}
... ...
package com.wd.foundation.bean.analytics;
/**
* Time:2023/3/22
* Author:ypf
* Description:名称:直播类别,属性值:live_type
*/
public class LiveTypeConstants {
/**
* 直播预约
*/
public static final String LIVE_SUBSCRIBE = "liveSubscribe";
/**
* 直播中
*/
public static final String LIVE_RUNNING = "livePlaying";
/**
* 直播结束
*/
public static final String LIVE_END = "liveEnd";
/**
* 直播中
*/
public static final String RUNNING = "running";
/**
* 结束
*/
public static final String END = "end";
}
\ No newline at end of file
... ...
package com.wd.foundation.bean.analytics;
/**
* Time:2023/3/22
* Author:ypf
* Description:名称:专题类型,属性值:summary_type
*/
public class SummaryTypeConstants {
/**
* 普通专题
*/
public static final String NORMAL_SUBJECT = "normal_subject";
/**
* 主题专题
*/
public static final String THEMATIC_SUBJECT = "thematic_subject";
/**
* 作者专题
*/
public static final String AUTHOR_SUBJECT = "author_subject";
}
... ...
package com.wd.foundation.bean.analytics;
import com.wd.foundation.bean.base.BaseBean;
import com.wd.foundation.bean.custom.content.ContentTypeConstant;
/**
* 埋点-推荐数据bean
*
* @author baozhaoxin
* @version [V1.0.0, 2023/3/14]
* @since V1.0.0
*/
public class TraceBean extends BaseBean {
/**
* 物料的溯源Id
*/
public String traceId;
/**
* 子场景ID
*/
public String subSceneId;
/**
* 场景ID
*/
public String sceneId;
/**
* 卡片物料id
*/
public String cardItemId;
/**
* 内容ID
*/
public String itemId;
/**
* contentType转ItemType
*
* @param type
* @return
*/
public String toItemType(int type) {
String itemType = "";
if (ContentTypeConstant.URL_TYPE_ZERO == type) {
// 不跳转
} else if (ContentTypeConstant.URL_TYPE_ONE == type) {
// 点播
itemType = ItemTypeConstant.ITEM_TYPE_VIDEO;
} else if (ContentTypeConstant.URL_TYPE_TWO == type) {
// 直播
} else if (ContentTypeConstant.URL_TYPE_FIVE == type) {
// 5专题
} else if (ContentTypeConstant.URL_TYPE_SIX == type) {
// 6,跳转H5外链
itemType = ItemTypeConstant.ITEM_TYPE_ITEM;
} else if (ContentTypeConstant.URL_TYPE_EIGHT == type) {
// 8 图文
itemType = ItemTypeConstant.ITEM_TYPE_ARTICLE;
} else if (ContentTypeConstant.URL_TYPE_NINE == type) {
// 9 组图 图集
itemType = ItemTypeConstant.ITEM_TYPE_IMAGE;
} else if (ContentTypeConstant.URL_TYPE_TEN == type) {
// 10 H5新闻
itemType = ItemTypeConstant.ITEM_TYPE_ITEM;
} else if (ContentTypeConstant.URL_TYPE_ELEVEN == type) {
// 11 频道
}
return itemType;
}
}
... ...
package com.wd.foundation.bean.analytics;
/**
* 埋点-直播数据
*
* @author libo
* @version [V1.0.0, 2023/03/29]
* @since V1.0.0
*/
public class TraceLiveBean {
/**
* 直播流类型
*/
public String liveStreamType;
/**
* 直播流ID
*/
public String vliveId;
/**
* 直播流名称
*/
public String vliveName;
/**
* 直播方式 1、单路直播2、多路直播
*/
public String liveMode;
}
\ No newline at end of file
... ...